Create SyncManager only when using X11
ClosedPublic

Authored by graesslin on Aug 24 2017, 2:20 PM.

Details

Summary

The SyncManager is highly X11 dependent and doesn't make much sense on
Wayland. It should already be guarded by the check for
GL_EXT_x11_sync_object, but better be safe than sorry, so explicit check
for on X11.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin created this revision.Aug 24 2017, 2:20 PM
Restricted Application added a project: KWin. · View Herald TranscriptAug 24 2017, 2:20 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
This revision was automatically updated to reflect the committed changes.