aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/wayland
diff options
context:
space:
mode:
authorRichard Lettich <lettrich42@gmail.com>2016-03-27 14:39:20 -0400
committerRichard Lettich <lettrich42@gmail.com>2016-03-27 14:39:20 -0400
commit117069ef9023665085564c4c20a9525c9e139de2 (patch)
tree3cb9607c207560325129c186942ded4c79d227ca /src/api/wayland
parent8ae2df68e19ca71453af5e11de9ca807ef7adcb4 (diff)
downloadglutin-117069ef9023665085564c4c20a9525c9e139de2.tar.gz
glutin-117069ef9023665085564c4c20a9525c9e139de2.zip
Changed MouseMoved((i32, i32)) to MouseMoved(i32, i32), breaking change
Diffstat (limited to 'src/api/wayland')
-rw-r--r--src/api/wayland/events.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/wayland/events.rs b/src/api/wayland/events.rs
index 5e0c3fd..92a0b95 100644
--- a/src/api/wayland/events.rs
+++ b/src/api/wayland/events.rs
@@ -52,7 +52,7 @@ pub fn translate_event(
if known_surfaces.contains(&surface) {
focuses.pointer_on = Some(surface);
focuses.pointer_at = Some((x, y));
- Some((GlutinEvent::MouseMoved((x as i32, y as i32)), surface))
+ Some((GlutinEvent::MouseMoved(x as i32, y as i32), surface))
} else {
None
}
@@ -65,7 +65,7 @@ pub fn translate_event(
WlPointerEvent::Motion(_, x, y) => {
if let Some(surface) = focuses.pointer_on {
focuses.pointer_at = Some((x, y));
- Some((GlutinEvent::MouseMoved((x as i32, y as i32)), surface))
+ Some((GlutinEvent::MouseMoved(x as i32, y as i32), surface))
} else {
None
}