aboutsummaryrefslogtreecommitdiff
path: root/src/input/spatial_movement_grab.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/spatial_movement_grab.rs')
-rw-r--r--src/input/spatial_movement_grab.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/input/spatial_movement_grab.rs b/src/input/spatial_movement_grab.rs
index 56a36ce3..d8b13b96 100644
--- a/src/input/spatial_movement_grab.rs
+++ b/src/input/spatial_movement_grab.rs
@@ -40,10 +40,8 @@ impl SpatialMovementGrab {
let layout = &mut state.niri.layout;
let res = match self.gesture {
GestureState::Recognizing => None,
- GestureState::ViewOffset => layout.view_offset_gesture_end(false, Some(false)),
- GestureState::WorkspaceSwitch => {
- layout.workspace_switch_gesture_end(false, Some(false))
- }
+ GestureState::ViewOffset => layout.view_offset_gesture_end(Some(false)),
+ GestureState::WorkspaceSwitch => layout.workspace_switch_gesture_end(Some(false)),
};
if let Some(output) = res {