[kcms/input] Ensure X11 specific code doesn't crash on other platforms

Review Request #124270 - Created July 6, 2015 and submitted

Information
Martin Flöser
plasma-desktop
master
5c5519d...
Reviewers
plasma
For the kcminit_mouse it's important to also function on Xwayland in
order to set correct cursor information for X clients. Thus if it's
not on platform xcb it tries to open an X connection the old way.

No longer crashes on Wayland

Martin Flöser
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 889f640dc6ceaf5e6bf00d116da5a6101cd74043 by Martin Gräßlin to branch master.
Loading...