diff options
Diffstat (limited to 'src/x11/window')
-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 6ea14c5..57ae22d 100644 --- a/src/x11/window/mod.rs +++ b/src/x11/window/mod.rs @@ -446,7 +446,7 @@ impl Window { }, ffi::ClientMessage => { - use events::Event::{Closed, Refresh}; + use events::Event::{Closed, Awakened}; use std::sync::atomic::Relaxed; let client_msg: &ffi::XClientMessageEvent = unsafe { mem::transmute(&xev) }; @@ -455,7 +455,7 @@ impl Window { self.is_closed.store(true, Relaxed); events.push(Closed); } else { - events.push(Refresh); + events.push(Awakened); } }, |