Fix stuck modifier keys
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Sat, 19 May 2012 16:31:36 +0000 (19:31 +0300)
committerJørgen Lind <jorgen.lind@nokia.com>
Mon, 21 May 2012 06:38:27 +0000 (08:38 +0200)
commit42f6dd89261ef94099f05f9f813a25d0cce8d8ac
treebb86b42ed2fb70c68a1f2aea8e14bc3e98729d04
parentc72be66c7f8a86ae835afe0ba0f2553b6aa3d54a
Fix stuck modifier keys

Storing the modifier state as a member is not needed.
Updating it in the keyboard_enter does not make sense as the
xkb state can only change in the key event handler.
The logic for updating the modifiers was somewhat broken.

Change-Id: I7d9378af6f3775a6954a9747cab0e93a549fa62a
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/plugins/platforms/wayland/qwaylandinputdevice.cpp
src/plugins/platforms/wayland/qwaylandinputdevice.h