Implement horizontal touchpad swipe

This commit is contained in:
Ivan Molodetskikh
2024-02-29 08:56:20 +04:00
parent 55038b7c07
commit ba10bab010
4 changed files with 331 additions and 34 deletions
+2
View File
@@ -192,6 +192,7 @@ pub struct Niri {
pub dnd_icon: Option<WlSurface>,
pub pointer_focus: Option<PointerFocus>,
pub tablet_cursor_location: Option<Point<f64, Logical>>,
pub gesture_swipe_3f_cumulative: Option<(f64, f64)>,
pub lock_state: LockState,
@@ -1048,6 +1049,7 @@ impl Niri {
dnd_icon: None,
pointer_focus: None,
tablet_cursor_location: None,
gesture_swipe_3f_cumulative: None,
lock_state: LockState::Unlocked,