aboutsummaryrefslogtreecommitdiff
path: root/src/safe_x11/event.rs
AgeCommit message (Collapse)AuthorFilesLines
2015-11-22Add socket functionality.Matias Linares1-1/+1
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.
2015-11-22next_xevent don't block anymore!Matias Linares1-0/+33
Now the next_xevent (from the safex11) will not block forever. So we can listen the socket without doing some thread stuff.