summaryrefslogtreecommitdiffstats
path: root/src/client/client.pro
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>2015-04-22 13:45:28 +0300
committerGiulio Camuffo <giulio.camuffo@jollamobile.com>2015-07-23 07:29:02 +0000
commite57908347009dd1199bd167eeb518f7a5d2ff6d6 (patch)
treeff51d36f8ec2bf6eb09df5cd3c7c3b4d253610d0 /src/client/client.pro
parent9f19981d2a237cdc4d2c9c3a1b2418a472c7b841 (diff)
Use xkbcommon for internal key events too
To manage the keyboard state and send key events to clients we use the xkbcommon library (unless disabled). That means that we currently have a separation between key events outgoing to clients and key events being used internally in the compositor, resulting in different keysyms being produced in the two cases for the same hardware key. Filter the key events coming from the underlying platform and modify them according to the xkb state instead. Change-Id: I4c6678be68e5b214b2b9cd0222dc9f425c580085 Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'src/client/client.pro')
-rw-r--r--src/client/client.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/client.pro b/src/client/client.pro
index 29016c9c8..ba17b21c5 100644
--- a/src/client/client.pro
+++ b/src/client/client.pro
@@ -75,6 +75,7 @@ SOURCES += qwaylandintegration.cpp \
qwaylandtouch.cpp \
qwaylandqtkey.cpp \
../shared/qwaylandmimehelper.cpp \
+ ../shared/qwaylandxkb.cpp \
qwaylandabstractdecoration.cpp \
qwaylanddecorationfactory.cpp \
qwaylanddecorationplugin.cpp \
@@ -107,6 +108,7 @@ HEADERS += qwaylandintegration_p.h \
qwaylandtouch_p.h \
qwaylandqtkey_p.h \
../shared/qwaylandmimehelper.h \
+ ../shared/qwaylandxkb.h \
qwaylandabstractdecoration_p.h \
qwaylanddecorationfactory_p.h \
qwaylanddecorationplugin_p.h \