diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2016-03-27 21:40:11 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2016-03-27 21:40:11 +0200 |
commit | 89dd63b9ceac72a7ca274724d2b81033ddb5d4ed (patch) | |
tree | 3cb9607c207560325129c186942ded4c79d227ca /src/api/x11 | |
parent | 8ae2df68e19ca71453af5e11de9ca807ef7adcb4 (diff) | |
parent | 117069ef9023665085564c4c20a9525c9e139de2 (diff) | |
download | glutin-89dd63b9ceac72a7ca274724d2b81033ddb5d4ed.tar.gz glutin-89dd63b9ceac72a7ca274724d2b81033ddb5d4ed.zip |
Merge pull request #752 from RichardlL/master
Changed MouseMoved((i32, i32)) to MouseMoved(i32, i32), breaking change
Diffstat (limited to 'src/api/x11')
-rw-r--r-- | src/api/x11/input.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/x11/input.rs b/src/api/x11/input.rs index a05b22e..310f1bc 100644 --- a/src/api/x11/input.rs +++ b/src/api/x11/input.rs @@ -241,7 +241,7 @@ impl XInputEventHandler { let new_cursor_pos = (event_data.event_x, event_data.event_y); if new_cursor_pos != self.current_state.cursor_pos { self.current_state.cursor_pos = new_cursor_pos; - Some(MouseMoved((new_cursor_pos.0 as i32, new_cursor_pos.1 as i32))) + Some(MouseMoved(new_cursor_pos.0 as i32, new_cursor_pos.1 as i32)) } else { None } |