diff options
author | Ivo Wetzel <ivo.wetzel@googlemail.com> | 2016-03-30 08:21:01 +0200 |
---|---|---|
committer | Ivo Wetzel <ivo.wetzel@googlemail.com> | 2016-03-30 08:21:01 +0200 |
commit | 0e9fad5d2350467921af2d2e3ab0b26a1b749080 (patch) | |
tree | 06952222d0be79125f5cd2afca8226d21fc792bc /src/api/x11 | |
parent | 1b7a3cd31febc38b4d0d39d06f99639469a5823d (diff) | |
parent | 89dd63b9ceac72a7ca274724d2b81033ddb5d4ed (diff) | |
download | glutin-0e9fad5d2350467921af2d2e3ab0b26a1b749080.tar.gz glutin-0e9fad5d2350467921af2d2e3ab0b26a1b749080.zip |
Merge branch 'master' of github.com:tomaka/glutin into x11_window_size_constraints
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 } |