aboutsummaryrefslogtreecommitdiff
path: root/src/socket/mod.rs
AgeCommit message (Collapse)AuthorFilesLines
2017-10-02Use std UnixListener/UnixStreamMatias Linares1-1/+1
2016-09-04Add Mouse drag support.Matias Linares1-6/+16
This concludes the first 'release' :p.
2016-06-03Add Clippy as dependency.Matias Linares1-8/+5
This brings a lot of clean up on the code.
2015-11-30Add resize-win-sticky.Matias Linares1-1/+1
The move window sticky is working weirdly. The movement should be using the attrs.x and attrs.y instead the attrs.x/y + attrs.width/height. But it's working :).
2015-11-28Better socket handlingMatias Linares1-21/+28
The socket interface now allows almost everything that vould be done by the internals of the window manager. Also the Window manager now closes fine (on a success exit).
2015-11-22Death to the threads.Matias Linares1-0/+8
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-22Add socket functionality.Matias Linares1-0/+31
Something simple, but it works pretty well. The mapping between the strings that comes from the socket and functions, modifiers, keys, etc. needs some rewrite because now there's a manual mapping. The autostart file shows some functionality on how it will work. Since the next_xevent is ticking on 1s, it's preferible to make the writes on the socket all together, otherwise will pass 1 sec between two calls.