Implemented an SFML-level event filter for Linux.