mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-25 06:59:46 -05:00
wl_keyboard: Add modifier event
This event sends the current keyboard modifier/group state from the compositor to the client, allowing all clients to have a consistent view of the keyboard state (e.g. current layout, Caps Lock, et al). It should be sent after a keyboard enter event, and also immediately after any key event which changes the modifier state. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
f7a39ff69b
commit
9a1705c5f5
3 changed files with 34 additions and 1 deletions
|
|
@ -872,6 +872,19 @@
|
|||
<arg name="key" type="uint"/>
|
||||
<arg name="state" type="uint"/>
|
||||
</event>
|
||||
|
||||
<event name="modifiers">
|
||||
<description summary="modifier and group state">
|
||||
Notifies clients that the modifier and/or group state has
|
||||
changed, and it should update its local state.
|
||||
</description>
|
||||
|
||||
<arg name="serial" type="uint"/>
|
||||
<arg name="mods_depressed" type="uint"/>
|
||||
<arg name="mods_latched" type="uint"/>
|
||||
<arg name="mods_locked" type="uint"/>
|
||||
<arg name="group" type="uint"/>
|
||||
</event>
|
||||
</interface>
|
||||
|
||||
<interface name="wl_touch" version="1">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue