diff options
author | Andrew den Exter <andrew.den.exter@qinetic.com.au> | 2013-12-10 13:41:32 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-16 11:37:23 +0100 |
commit | 9e511660ee6d79b68177041ab9dceeef501a2442 (patch) | |
tree | 461e65e2b67bde293aeabbbbf743992f1e4a3e5d /src/extensions/qtkey-extension.xml | |
parent | 1850061bc1b3cb49f50318706a15b76590e61a06 (diff) | |
download | qtwayland-9e511660ee6d79b68177041ab9dceeef501a2442.tar.gz |
QtCompositor: Allow key events to be delivered to unfocused windows
Adds an overload to QWaylandInput::sendFullKeyEvent which allows
specifying the surface to deliver the event to. This also extends
the Qt keyboard extension to allow sending keys to specific windows.
Change-Id: I1b7abdc4d8a30392ef2e7ee5e9af5b3036b23577
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/extensions/qtkey-extension.xml')
-rw-r--r-- | src/extensions/qtkey-extension.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/extensions/qtkey-extension.xml b/src/extensions/qtkey-extension.xml index 1d0db59d..711a2c28 100644 --- a/src/extensions/qtkey-extension.xml +++ b/src/extensions/qtkey-extension.xml @@ -38,12 +38,13 @@ $QT_END_LICENSE$ </copyright> - <interface name="qt_key_extension" version="1"> + <interface name="qt_key_extension" version="2"> <event name="qtkey"> <description summary="qtkey event"> Serialized QKeyEvent </description> + <arg name="surface" type="object" interface="wl_surface"/> <arg name="time" type="uint"/> <arg name="type" type="uint"/> <arg name="key" type="uint"/> |