From 5a50fe75208f296f91074a41c42d2f41f4234516 Mon Sep 17 00:00:00 2001 From: Gwilherm Folliot Date: Fri, 13 Dec 2024 23:08:57 +0100 Subject: [PATCH] input-capture: add modifiers event --- protocols/hyprland-input-capture-v1.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/protocols/hyprland-input-capture-v1.xml b/protocols/hyprland-input-capture-v1.xml index 58401f2..37a82f3 100644 --- a/protocols/hyprland-input-capture-v1.xml +++ b/protocols/hyprland-input-capture-v1.xml @@ -129,6 +129,28 @@ + + + Notifies clients that the modifier and/or group state has + changed, and it should update its local state. + + The compositor may send this event without a surface of the client + having keyboard focus, for example to tie modifier information to + pointer focus instead. If a modifier event with pressed modifiers is sent + without a prior enter event, the client can assume the modifier state is + valid until it receives the next modifiers event. In order to + reset the modifier state again, the compositor can send a + modifiers event with no pressed modifiers. + + In the wl_keyboard logical state, this event updates the modifiers and + group. + + + + + + + Describes the physical state of a button that produced the button