In case the inheriting class of X11EventFilter is a child of Workspace and deleted by the QObject dtor of Workspace the Workspace::self() pointer is no longer valid and already set to nullptr.
This class provides an event filter, specific to an event type, that can be registered with Workspace to filter events.