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>
This commit is contained in:
parent
003894ecc2
commit
3908c0aa0d
@ -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"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user