Fix bad events
This commit is contained in:
parent
838cc2b325
commit
aa7d88dbda
4 changed files with 7 additions and 10 deletions
|
|
@ -173,9 +173,9 @@ impl Window {
|
|||
},
|
||||
|
||||
ffi::ResizeRequest => {
|
||||
use SizeChanged;
|
||||
use Resized;
|
||||
let rs_event: &ffi::XResizeRequestEvent = unsafe { mem::transmute(&xev) };
|
||||
events.push(SizeChanged(rs_event.width as uint, rs_event.height as uint));
|
||||
events.push(Resized(rs_event.width as uint, rs_event.height as uint));
|
||||
},
|
||||
|
||||
ffi::MotionNotify => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue