diff options
Diffstat (limited to 'src/x11')
-rw-r--r-- | src/x11/window/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x11/window/mod.rs b/src/x11/window/mod.rs index 72c7133..e94b5c9 100644 --- a/src/x11/window/mod.rs +++ b/src/x11/window/mod.rs @@ -370,10 +370,10 @@ impl Window { let mut events = Vec::new(); loop { - use std::num::Bounded; + use std::num::Int; let mut xev = unsafe { mem::uninitialized() }; - let res = unsafe { ffi::XCheckMaskEvent(self.display, Bounded::max_value(), &mut xev) }; + let res = unsafe { ffi::XCheckMaskEvent(self.display, Int::max_value(), &mut xev) }; if res == 0 { let res = unsafe { ffi::XCheckTypedEvent(self.display, ffi::ClientMessage, &mut xev) }; |