aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/wayland
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/wayland')
-rw-r--r--src/api/wayland/events.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/api/wayland/events.rs b/src/api/wayland/events.rs
index 8b18020..5e0c3fd 100644
--- a/src/api/wayland/events.rs
+++ b/src/api/wayland/events.rs
@@ -1,5 +1,6 @@
use std::collections::HashSet;
+use TouchPhase;
use Event as GlutinEvent;
use ElementState;
use MouseButton;
@@ -98,7 +99,8 @@ pub fn translate_event(
WlPointerAxis::HorizontalScroll => {
MouseScrollDelta::PixelDelta(0.0, amplitude as f32)
}
- }
+ },
+ TouchPhase::Moved
), surface))
} else {
None
@@ -107,4 +109,4 @@ pub fn translate_event(
},
_ => None
}
-} \ No newline at end of file
+}