summaryrefslogtreecommitdiff
path: root/src/main.rs
AgeCommit message (Collapse)AuthorFilesLines
2015-11-15Move exec and add binding to the main.Matias Linares1-1/+17
The bindings don't need to be handled on the window manager This would be useful for the client/server feature.
2015-11-09ExecFn Rewrite.Matias Linares1-20/+79
This now allows to call a ExecFn with a &mut DotWM by parameter. This help to do some things like do the window swapping. through mod4 + tab. Also the bindings are not longer on the wm, because this generates some problems with the ExecFn. Also, now it's posible to resize the windows :)
2015-11-09Focus handling.Matias Linares1-1/+12
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/+75
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