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

commitaaf5a32f522402a075fefe503606fac5b7a72e84
parenta7fd0fc9bc
authorIsaac Freund <[email protected]>
date2026-01-27 20:24
protocol: scroll factor < 0 is a protocol error

 protocol/river-input-management-v1.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/protocol/river-input-management-v1.xml b/protocol/river-input-management-v1.xml
index ff37bf9..05bcd34 100644
--- a/protocol/river-input-management-v1.xml
+++ b/protocol/river-input-management-v1.xml
@@ -200,6 +200,8 @@
 
         For example, a factor of 0.5 will make scrolling twice as slow while a
         factor of 3.0 will make scrolling 3 times as fast.
+
+        Setting a scroll factor less than 0 is a protocol error.
       </description>
       <arg name="factor" type="fixed"/>
     </request>