summaryrefslogtreecommitdiff
path: root/mcwm.c
AgeCommit message (Collapse)Author
2010-06-20- Read some ICCCM hints and use at least some of them.MC
- R now toggles stack order. - Resize in window defined steps if we have hints. - Move window to cursor position when mapping. Try to fit it on screen. - Focus on window under pointer when starting. - Keypress should deal with focused window, not the window where the key was pressed, which might be root. Sloppy focus, remember? - Never mind trying to run if we can't be the window manager.
2010-06-19Raise window when doing resize by keyboard.MC
Don't raise window every time we do an incremental mouse move or resize. Just do it at the beginning.
2010-06-19Try subscribing to SUBSTRUCTURE REDIRECT events first and fallback toMC
SUBSTRUCTURE NOTIFY if that fails (ie, another window manager is running). This means we can still run simultaneously with another wm. newwin(): New function. Gets called when we're the only wm when new windows wants to be mapped. We map them at the position of the pointer. Don't map all existing windows when starting at all. Removed -m. Moved events loop to its own function, events().
2010-06-18Added global configuration struct and handle two options:MC
-b for draw no borders, ever. -m for not mapping windows when starting.
2010-06-18Version 20100618.20100618MC