summaryrefslogtreecommitdiff
path: root/src/event.rs
AgeCommit message (Collapse)AuthorFilesLines
2016-01-27Refactor move sticky.Matias Linares1-0/+4
2015-12-07Implement desktops.Matias Linares1-2/+2
It's somewhat buggy. But works :). There're 2 desktops only for now, maybe later I will implement something more dynamic
2015-11-22Move the file descriptor of the socket to the select event.Matias Linares1-2/+3
2015-11-22Death to the threads.Matias Linares1-3/+52
All the socket stuff is done syncing it with select calls so we can get either a X11 event or a Socket event. Also cleanup the C mess, it's done all in rust now :).
2015-11-22next_xevent don't block anymore!Matias Linares1-4/+4
Now the next_xevent (from the safex11) will not block forever. So we can listen the socket without doing some thread stuff.
2015-11-16Add MIT LICENSEMatias Linares1-0/+2
2015-11-09Focus handling.Matias Linares1-0/+8
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
2015-11-08Initial commitMatias Linares1-0/+69
This initial commit has the following: * We can spawn a terminal. * Given a new window, we can move it around the screen, but only the window that was created, all the other windows disappear on the void, so.. :( and that's it