graesslin created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY The RuleBook is created during Workspace startup, so it's a required component for the overall KWin session. It uses a KXMessages object which means it has a hard X11 runtime dependency. This change makes the dependency optional and creates the KXMessages once X11 is available. TEST PLAN Compiles REPOSITORY R108 KWin BRANCH rulebook-no-x11 REVISION DETAIL https://phabricator.kde.org/D7653 AFFECTED FILES rules.cpp rules.h To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas