diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2016-01-27 12:27:34 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2016-01-27 12:27:34 -0300 |
commit | 5d7d8a19f6364dfb6e6583125ced3103d069f2b3 (patch) | |
tree | d6906802f0427fd843783dba1d608cf3c54fcd82 /src/main.rs | |
parent | f7a827971f436d9d493cff9ecb7fe91958f71be1 (diff) | |
download | dotwm-5d7d8a19f6364dfb6e6583125ced3103d069f2b3.tar.gz |
Refactor move sticky.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 2a00ff5..90126a6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -45,6 +45,7 @@ fn main() { // Main loop while !dotwm.finish { let event = unsafe { select_event(dotwm.display, x11_fd, &listener) }; + println!("Event: {:?}", event); match event { Event::Key(mut e, true) => { let keysym = unsafe { xlib::XLookupKeysym(&mut e, 0) as u32 }; @@ -68,6 +69,8 @@ fn main() { dotwm.change_focus_of(idx); } }, + Event::Expose(_) => { + }, Event::Socket(stream) => { let mut s = stream.try_clone().unwrap(); let mut buf = String::new(); |