Diffusion KWin 537b36d1cb48

Only try creating X11 shadow if we have an X11 connection

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

Description

Only try creating X11 shadow if we have an X11 connection

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

Reviewers: KWin, Plasma

Subscribers: plasma-devel, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D7894