summaryrefslogtreecommitdiff
path: root/src/desktop.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop.rs')
-rw-r--r--src/desktop.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop.rs b/src/desktop.rs
index 8bd4a4c..afe6a28 100644
--- a/src/desktop.rs
+++ b/src/desktop.rs
@@ -58,7 +58,7 @@ impl Desktop {
}
self.unfocus_current_window();
if let Some(w) = XWindow::new(self.display, w) {
- w.select_input(xlib::EnterWindowMask);
+ w.select_input(xlib::EnterWindowMask | xlib::ExposureMask);
self.window_list.push(w);
// Last windows get focus.
self.focus_current_window();