aboutsummaryrefslogtreecommitdiff
path: root/src/desktop.rs
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2016-01-27 12:27:34 -0300
committerMatias Linares <matiaslina@openmailbox.org>2016-01-27 12:27:34 -0300
commit5d7d8a19f6364dfb6e6583125ced3103d069f2b3 (patch)
treed6906802f0427fd843783dba1d608cf3c54fcd82 /src/desktop.rs
parentf7a827971f436d9d493cff9ecb7fe91958f71be1 (diff)
downloaddotwm-5d7d8a19f6364dfb6e6583125ced3103d069f2b3.tar.gz
Refactor move sticky.
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();