[kcms/input] Ensure X11 specific code doesn't crash on other platforms
Review Request #124270 - Created July 6, 2015 and submitted
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