Enable the qtkey extension regardless.
authorSamuel Rødal <samuel.rodal@nokia.com>
Wed, 28 Mar 2012 10:18:14 +0000 (12:18 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Wed, 28 Mar 2012 10:36:16 +0000 (12:36 +0200)
commitda82afb33090ba215e34c49dfcbc99d5e24d64c6
tree93904e0469e8a96cf63c3df46582cdf144f4a5d0
parente60c124146da19bd56292a31eae91eac2a175b37
Enable the qtkey extension regardless.

Now the clients get qtkey events if they register themselves against
that interface, otherwise they get regular key events. This handles both
qt clients and pure wayland clients being connected at the same time,
sending qtkey events to the former and regular key events to the latter.

Change-Id: Iebd9d78b57758b45098b99a94414ee428e41636b
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
src/compositor/compositor_api/waylandcompositor.cpp
src/compositor/compositor_api/waylandcompositor.h
src/compositor/wayland_wrapper/wlcompositor.cpp
src/compositor/wayland_wrapper/wlcompositor.h
src/compositor/wayland_wrapper/wlinputdevice.cpp
src/compositor/wayland_wrapper/wlqtkey.cpp
src/compositor/wayland_wrapper/wlqtkey.h