aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/grabbing.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/grabbing.rs b/examples/grabbing.rs
index 07e3873..8088774 100644
--- a/examples/grabbing.rs
+++ b/examples/grabbing.rs
@@ -42,6 +42,11 @@ fn main() {
.ok().expect("could not grab mouse cursor");
}
},
+
+ a @ Event::MouseMoved(_) => {
+ println!("{:?}", a);
+ },
+
_ => (),
}