Do not hard runtime depend on X11 in RuleBook
ClosedPublic

Authored by graesslin on Sep 2 2017, 9:11 AM.

Details

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

Diff Detail

Repository
R108 KWin
Branch
rulebook-no-x11
Lint
No Linters Available
Unit
No Unit Test Coverage
graesslin created this revision.Sep 2 2017, 9:11 AM
Restricted Application added a project: KWin. · View Herald TranscriptSep 2 2017, 9:11 AM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Sep 10 2017, 1:39 PM
This revision is now accepted and ready to land.Sep 10 2017, 1:39 PM
This revision was automatically updated to reflect the committed changes.