https://bugs.kde.org/show_bug.cgi?id=367080

Håkon Alstadheim <ha...@alstadheim.priv.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ha...@alstadheim.priv.no

--- Comment #3 from Håkon Alstadheim <ha...@alstadheim.priv.no> ---
Have same problem, patch below works around it. Not claiming this is "The Right
Way" 
--------------------
--- a/kcms/keyboard/x11_helper.cpp      2017-06-08 21:04:52.650000000 +0200
+++ b/kcms/keyboard/x11_helper.cpp      2017-06-08 21:02:23.880000000 +0200
@@ -239,6 +239,13 @@
        char *prop_data = NULL;
        Status ret;

+       if (!QX11Info::isPlatformX11())
+       {
+           qCWarning(KCM_KEYBOARD) << "Desktop platform is not X11";
+           return false;
+       }
+
+
        Atom rules_atom = XInternAtom(display, _XKB_RF_NAMES_PROP_ATOM, False);

        /* no such atom! */

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to