Age | Commit message (Collapse) | Author |
|
window ring.
This also means focuswin is now a pointer to a struct client and that
we have a linked list of all mapped windows not in override redirect
mode.
|
|
|
|
|
|
|
|
Don't bother setting focus when entering a window if the event notify
says we're not in a normal state, e.g. the pointer is grabbed by some
client (including us).
|
|
|
|
Handle setting of sibling.
Handle stacking order request.
|
|
Removed superflous raisewindow().
|
|
Added help text.
Removed unused "m" option.
|
|
child to exit so we don't leave any zombies.
|
|
Handle default case in keypress switch.
|
|
works! \o/
|
|
|
|
|
|
ICCCM seems to indicate we should use geometry and allow configure
requests from the client to change size instead.
|
|
reconfigure its own geometry!
Added debug printouts in Configure Request.
|
|
namely size and position.
|
|
initial geometry. If they disagree, use the size hints instead.
Use 0,0 as origo! Duh.
If we get a new very large window, resize it to fit our screen before
mapping.
Use the XCB_EVENT_MASK_STRUCTURE_NOTIFY mask on the root window, so we
get CONFIGURE NOTIFY events from the root window itself! This means
that if RANDR suddenly changes the geometry we get to know about it.
Handle it gracefully.
|
|
|
|
motion events.
|
|
|
|
- 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.
|
|
Don't raise window every time we do an incremental mouse move or
resize. Just do it at the beginning.
|
|
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().
|
|
-b for draw no borders, ever.
-m for not mapping windows when starting.
|
|
|