From 5f416abcf9053cf61323921b6218d72a77e2dceb Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 2 Mar 2024 15:23:40 +0400 Subject: Change horizontal gesture to focus furthest window --- src/input.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/input.rs') diff --git a/src/input.rs b/src/input.rs index 0b930b20..db415a49 100644 --- a/src/input.rs +++ b/src/input.rs @@ -1269,7 +1269,10 @@ impl State { handled = true; } - let res = self.niri.layout.view_offset_gesture_update(delta_x); + let res = self + .niri + .layout + .view_offset_gesture_update(delta_x, timestamp); if let Some(output) = res { if let Some(output) = output { self.niri.queue_redraw(output); -- cgit