wacomtablet kded module crashes on Wayland taking down the whole kded5 and leaves plasma barely usable. Reproducible: Always Steps to Reproduce: 1. Start plasma session. Actual Results: Crash Expected Results: Calls to X11 must be guarded at runtime.
Git commit 4f96fd304ef6ecd62c79567bcce2ca92714b17ec by Valeriy Malov. Committed on 05/11/2017 at 22:23. Pushed by valeriymalov into branch 'master'. Avoid crashing kded on wayland session Summary: check if we're running under X11 before making some X11 calls remove unused Wacom::X11Info methods use QScreen in X11Info::getScreenRotation instead of Xrandr fix X-KDE-Library in wacomtablet.desktop Reviewers: rempt, abrahams, xuetianweng Reviewed By: xuetianweng Differential Revision: https://phabricator.kde.org/D7074 M +13 -38 src/common/x11info.cpp M +0 -12 src/common/x11info.h M +4 -2 src/kded/tabletdaemon.cpp M +4 -0 src/kded/tabletfinder.cpp M +1 -1 src/kded/wacomtablet.desktop https://commits.kde.org/wacomtablet/4f96fd304ef6ecd62c79567bcce2ca92714b17ec