aboutsummaryrefslogtreecommitdiff
path: root/src/socket
AgeCommit message (Collapse)AuthorFilesLines
2015-11-27Little implemented the socket parser.Matias Linares1-2/+34
Just two functions for the parsing of the socket. nothing special.
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 Linares2-0/+101
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.