git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit2dfdc9f20b1bdf10605f976369ca30f1508146b3
parent704a9ca0ae
authortiosgz <[email protected]>
date2024-08-12 13:12
rwm: clarify binding release event behavior

 protocol/river-window-management-v1.xml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/protocol/river-window-management-v1.xml b/protocol/river-window-management-v1.xml
index c8fbbaa..3ad13b9 100644
--- a/protocol/river-window-management-v1.xml
+++ b/protocol/river-window-management-v1.xml
@@ -1300,7 +1300,8 @@
 
         Releasing the modifiers for the binding without releasing the "main"
         physical key that produces the bound keysym does not trigger the release
-        event. This event is not sent until the "main" key is released.
+        event. This event is sent when the "main" key is released, even if the
+        modifiers have changed since the pressed event.
 
         This event is double-buffered state and will be followed by a
         river_window_manager_v1.update event.
@@ -1385,8 +1386,9 @@
         been released.
 
         Releasing the modifiers for the binding without releasing the pointer
-        button does not trigger the release event. This event is not sent until
-        the pointer button is released.
+        button does not trigger the release event. This event is sent when the
+        pointer button is released, even if the modifiers have changed since
+        the pressed event.
 
         This event is double-buffered state and will be followed by a
         river_window_manager_v1.update event.