Only try creating X11 shadow if we have an X11 connection
ClosedPublic

Authored by graesslin on Sep 20 2017, 5:36 PM.

Details

Summary

Otherwise it crashes for the first window being created in a
KWin/Wayland without XWayland support.

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.Sep 20 2017, 5:36 PM
Restricted Application added a project: KWin. · View Herald TranscriptSep 20 2017, 5:36 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Sep 21 2017, 4:43 PM
This revision is now accepted and ready to land.Sep 21 2017, 4:43 PM
This revision was automatically updated to reflect the committed changes.