diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-03-30 13:32:28 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-03-30 13:32:28 +0200 |
commit | a1b504d16c6734dd064aff84059f45c803d97eb3 (patch) | |
tree | aa3d6c4ea6d9903a7e7953b808401f1d8cd8c5d8 /examples | |
parent | c3470abc8e818c3ba1247df243055f5d1f854f2c (diff) | |
parent | 2089e9c476691b8d81b9bbe8eb83f4c878614774 (diff) | |
download | glutin-a1b504d16c6734dd064aff84059f45c803d97eb3.tar.gz glutin-a1b504d16c6734dd064aff84059f45c803d97eb3.zip |
Merge pull request #328 from tomaka/grab
Cursor grabbing
Diffstat (limited to 'examples')
-rw-r--r-- | examples/grabbing.rs | 5 |
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); + }, + _ => (), } |