aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11/mod.rs')
-rw-r--r--src/x11/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x11/mod.rs b/src/x11/mod.rs
index 68a061b..b099ef5 100644
--- a/src/x11/mod.rs
+++ b/src/x11/mod.rs
@@ -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 => {