summaryrefslogtreecommitdiff
path: root/mcwm.c
AgeCommit message (Expand)Author
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
2010-07-17Save cursor position inside of window when moving or resizing. Go backMichael Cardell Widerkrantz
2010-07-17Get rid of unused variables for storing starting point of pointer whenMichael Cardell Widerkrantz
2010-07-17If we resize a window and the pointer just happens to be on top ofMC
2010-07-13Missed a pixel in height and width when moving with mouse.MC
2010-07-10Added helpful comment about how we might want to change unmapMC
2010-07-10Instead of counting UnmapNotify events, which might get fouled up if aMC
2010-07-10Support setting of border colour of fixed windows from commandMC
2010-07-10Only handle visible windows when starting.MC
2010-07-09Handle UnmapNotify events. We find the window in the current workspaceMC
2010-07-09Fixed bug when we could resize a bit outside the root window.MC
2010-07-08Warp pointer when unmaximizing.MC
2010-07-07First, perhaps naive, implementation to rearrange windows when screenMC
2010-07-07Store coordinates and geometry when maximizing so we can revert.MC
2010-07-07Better start at workspace 0 as well, then. Ahem.MC
2010-07-07_NET_WM_DESKTOP considers 0 as the first logical desktop. So we use 0MC
2010-07-01Ooops! Deleted the wrong client(s)! Moved delfromworkspace() *into*20100701-3MC
2010-07-01Call top functions with a struct client instead of window. Check forMC
2010-07-01Only set border colour on fixed windows when the user specifically setMC
2010-07-01When changing workspaces, remove fixed windows from the current andMC
2010-07-01Give some feedback about fixed windows by changing their focus colour.MC
2010-07-01Delete a window from the workspace list as well when it is destroyed.MC
2010-06-30Ahem. *Unsigned* 32 bit integer.MC
2010-06-30We say in getting and setting properties that the workspace number isMC
2010-06-30Move adding to workspace from setupwin() to setupscreen() and newwin()MC
2010-06-30Always change to first workspace when starting.MC
2010-06-30Special treatment for focus on fixed windows.MC
2010-06-30Unfocus before unmapping and only if we have a focus.MC