summaryrefslogtreecommitdiff
path: root/mcwm.c
AgeCommit message (Expand)Author
2011-03-08Add support for Alt-Tabbing to the last focused window.Michael Cardell Widerkrantz
2011-02-22Simplify focusnext(). We already have a pointer to our place in theMichael Cardell Widerkrantz
2011-02-19Check if geometry really changed before re-arranging windows. If itMichael Cardell Widerkrantz
2011-02-19Whitespace.Michael Cardell Widerkrantz
2011-02-19Reset per window max state when physical screens change. Now uses aMichael Cardell Widerkrantz
2011-02-19Spelling in comment.Michael Cardell Widerkrantz
2011-02-19Also grab all keys + SHIFTMOD.Michael Cardell Widerkrantz
2011-02-19Specifically grab the keycodes we bind.Michael Cardell Widerkrantz
2010-11-18Initialize mode_x and mode_y. Not really necessary, but the compilerMichael Cardell Widerkrantz
2010-11-01Forgot some ifdeffed out code. Removed it.Michael Cardell Widerkrantz
2010-11-01Every client now remembers its place in each workspace window list.Michael Cardell Widerkrantz
2010-09-13Added delete window functionality. This is a patch from ChristianMichael Cardell Widerkrantz
2010-08-23If US_POSITION flag is set in WM_NORMAL_HINT, we obey the coordinatesMichael Cardell Widerkrantz
2010-08-10Don't raise window on keyboard focus unless it's really occluded byMichael Cardell Widerkrantz
2010-08-04Stop already known clients trying to map themselves onto the currentMichael Cardell Widerkrantz
2010-08-03If we don't have a focused window at the end of a resize or move,Michael Cardell Widerkrantz
2010-07-28Added comments.Michael Cardell Widerkrantz
2010-07-28Added some comments.Michael Cardell Widerkrantz
2010-07-28Change order of comparison with errno EINTR from select(). SeemsMichael Cardell Widerkrantz
2010-07-28We don't care about EnterNotify pseudo events when ungrabbing.Michael Cardell Widerkrantz
2010-07-28Don't bother to try to set focus if we get an EnterNotify for a windowMichael Cardell Widerkrantz
2010-07-23Take size increments into consideration when vertically maximizing,Michael Cardell Widerkrantz
2010-07-23Oops. Check for min_width in mouseresize() as well.Michael Cardell Widerkrantz
2010-07-23We initially set size increments to 1, so check for that instead.Michael Cardell Widerkrantz
2010-07-23Get size hints when initializing window.Michael Cardell Widerkrantz
2010-07-22When doing keyboard resize: Only warp pointer if it was inside theMichael Cardell Widerkrantz
2010-07-22Use MOVE_STEP.Michael Cardell Widerkrantz
2010-07-22Typo.Michael Cardell Widerkrantz
2010-07-21Special treatmeant for fully maximized windows: Don't allow move orMichael Cardell Widerkrantz
2010-07-21Renamed die() to cleanup() and make sure we quit with an explicitMichael Cardell Widerkrantz
2010-07-21Take into account the window border as well.Michael Cardell Widerkrantz
2010-07-21Only warp pointer when moving by keyboard if the pointer is inside theMichael Cardell Widerkrantz
2010-07-21Warp pointer inside window if outside when moving with keyboard. AlsoMichael Cardell Widerkrantz
2010-07-21More explicit checks for client == NULL. Added debug output as well.Michael Cardell Widerkrantz
2010-07-21Use xcb_poll_for_event() and block on select() instead ofMichael Cardell Widerkrantz
2010-07-21Raise window before moving to corner, otherwise we might end up underMichael Cardell Widerkrantz
2010-07-21Check if we have a focused window before doing anything!Michael Cardell Widerkrantz
2010-07-20Moved xcb_disconnect() to die().Michael Cardell Widerkrantz
2010-07-20Send KeyPress event to focused window if we don't know what to do withMichael Cardell Widerkrantz
2010-07-20Use signal() instead of sigaction() so we can compile cleanly with C99Michael Cardell Widerkrantz
2010-07-20Typo.Michael Cardell Widerkrantz
2010-07-20Oops. Forgot ; at end of PDEBUG(). Didn't notice since I compiledMichael Cardell Widerkrantz
2010-07-20Use SHIFTMOD as defined in config.h. Thanks to Christian NeukirchenMichael Cardell Widerkrantz
2010-07-19win may have been used uninitialized!Michael Cardell Widerkrantz
2010-07-19Used the wrong types for width and height in several places!Michael Cardell Widerkrantz
2010-07-19Use new helper functions to get geometry to avoid memory leaks.Michael Cardell Widerkrantz
2010-07-19Added Y, U, B and N keys to move focused window to corners.Michael Cardell Widerkrantz
2010-07-18Don't warp pointer to the same place it already was at when doingMichael Cardell Widerkrantz
2010-07-17Keep window relative pointer position when resizing with keyboard. IfMichael Cardell Widerkrantz
2010-07-17Keep pointer position relative window when moving with keyboard.Michael Cardell Widerkrantz