summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>2015-04-21 13:16:53 +0300
committerGiulio Camuffo <giulio.camuffo@jollamobile.com>2015-04-24 09:58:32 +0000
commit2451bcb92465573a3a35fbc73bb4b4161c93b768 (patch)
tree0f7d5d997bd88ef668197ebcafdee2be030ca612 /src
parentd6a9b108f4bc2cf3d6a68a16128796d75f767829 (diff)
downloadqtwayland-2451bcb92465573a3a35fbc73bb4b4161c93b768.tar.gz
qtwayland-2451bcb92465573a3a35fbc73bb4b4161c93b768.tar.bz2
qtwayland-2451bcb92465573a3a35fbc73bb4b4161c93b768.zip
Do not manually update the xkb state
xkb_state_update_key() is not supposed to be used in apps with a master process, such as wayland clients, which use xkb_state_update_mask() with the state serialized by the master. Change-Id: Ie51a39ca0c567c54072b221d1ab8cf7b8ea15c55 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/client/qwaylandinputdevice.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/qwaylandinputdevice.cpp b/src/client/qwaylandinputdevice.cpp
index 3b5e8348..ca17d0be 100644
--- a/src/client/qwaylandinputdevice.cpp
+++ b/src/client/qwaylandinputdevice.cpp
@@ -759,7 +759,6 @@ void QWaylandInputDevice::Keyboard::keyboard_key(uint32_t serial, uint32_t time,
}
const xkb_keysym_t sym = xkb_state_key_get_one_sym(mXkbState, code);
- xkb_state_update_key(mXkbState, code, isDown ? XKB_KEY_DOWN : XKB_KEY_UP);
Qt::KeyboardModifiers modifiers = mParent->modifiers();