diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2015-11-09 01:33:33 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2015-11-09 01:33:33 -0300 |
commit | 05bfd598a060beafe1a20ff759e499987f1ce87b (patch) | |
tree | dba0e6ddc3c8d110ece5bbdd4b3f7f12063eb0a5 /src/safe_x11/mod.rs | |
parent | a92f31598c7f5c5be971d643435193c52080b4dc (diff) | |
download | dotwm-05bfd598a060beafe1a20ff759e499987f1ce87b.tar.gz |
Focus handling.
For now this have some bugs. Some complex programs (i.e. thunar, firefox) will spawn
a lot of XCreateEvents and the last window it's not focused correctly.
Also the enter notify should work on an input instead hovering the window
Diffstat (limited to 'src/safe_x11/mod.rs')
-rw-r--r-- | src/safe_x11/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/safe_x11/mod.rs b/src/safe_x11/mod.rs index 199c402..bdfd7cf 100644 --- a/src/safe_x11/mod.rs +++ b/src/safe_x11/mod.rs @@ -140,7 +140,6 @@ pub fn grab_key(display: *mut Display, key: u32, modifiers: u32, owner_events: b pub fn next_xevent(display: *mut Display) -> XEvent { unsafe { let mut last_event: XEvent = uninitialized(); - println!("xevent: getting next event!"); xlib::XNextEvent(display, &mut last_event); last_event } |