From 22b7b1b3ccd2fd9783c3275270e37aad1a4b572c Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Tue, 20 Oct 2026 11:11:26 -0400 Subject: [PATCH] cleanup scroll patch --- .../quadraticpc/fht-compositor/scroll-accumulation.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/quadraticpc/fht-compositor/scroll-accumulation.patch b/clients/quadraticpc/fht-compositor/scroll-accumulation.patch index 9c70f45..408619d 100644 --- a/clients/quadraticpc/fht-compositor/scroll-accumulation.patch +++ b/clients/quadraticpc/fht-compositor/scroll-accumulation.patch @@ -104,10 +104,10 @@ } } } -@@ -1080,6 +1065,25 @@ +@@ -1079,6 +1064,25 @@ + } } - /// Returns `true` if a VT switch key has been handled. +/// Accumulate high-resolution scroll for a scroll binding. +/// +/// High-resolution wheels send several events per notch, each with part of the 120 units of a @@ -127,6 +127,6 @@ + } +} + + /// Returns `true` if a VT switch key has been handled. fn handle_vt_switch(backend: &mut Backend, key_state: KeyState, modified: Keysym) -> bool { if key_state == KeyState::Released { - // We only do VT switch on presses.