summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-19Added Y, U, B and N keys to move focused window to corners.Michael Cardell Widerkrantz
Also added helper functions to get geometry and pointer information. Used the getgeom() function in arrangewindows() and discovered memory leaks.
2010-07-18Don't warp pointer to the same place it already was at when doingMichael Cardell Widerkrantz
keyboard resize. Instead, only warp when we risk losing the pointer to another window.
2010-07-18*** empty log message ***Michael Cardell Widerkrantz
2010-07-18*** empty log message ***Michael Cardell Widerkrantz
2010-07-18*** empty log message ***Michael Cardell Widerkrantz
2010-07-17Keep window relative pointer position when resizing with keyboard. IfMichael Cardell Widerkrantz
the old relative pointer coordinates are outside the new geometry, warp the pointer to the middle of the window.
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
to that cursor position when done if it's still inside the window. If not, warp pointer to the middle of window.
2010-07-17Get rid of unused variables for storing starting point of pointer whenMichael Cardell Widerkrantz
moving and resizing. Only raise window once when resizing! Stop querying for pointer position ourself. Don't use motion hinting anymore and get real coordinates with motion event. See Gajewska and Manasse: "Why X Is Not Our Ideal Window System". Updated some comments.
2010-07-17*** empty log message ***Michael Cardell Widerkrantz
2010-07-17*** empty log message ***Michael Cardell Widerkrantz
2010-07-17*** empty log message ***Michael Cardell Widerkrantz
2010-07-17If we resize a window and the pointer just happens to be on top ofMC
another window when we ungrab the pointer we get an EnterNotify to that window and change focus. This is not what we want. To get around this, we warp the pointer to the middle of the focused window (that is, the window we just resize) just before ungrabbing.
2010-07-17Added a note about xmodmap -pm.MC
2010-07-13Missed a pixel in height and width when moving with mouse.MC
2010-07-12Bump.20100712MC
2010-07-12(no commit message)MC
2010-07-12(no commit message)MC
2010-07-12Feels like overkill to use mkdep.MC
2010-07-10Added helpful comment about how we might want to change unmapMC
handling. Help now lists -x option.
2010-07-10Instead of counting UnmapNotify events, which might get fouled up if aMC
an unrelated window is unmapped just when we're changing workspaces, we just look for the unmapped window in our *current* workspace list, not what we changed from.
2010-07-10Use mkdep to make dependencies.MC
Simplify mcwm-static. Bump version.
2010-07-10Support setting of border colour of fixed windows from commandMC
arguments.
2010-07-10Only handle visible windows when starting.MC
This means we also have to die gracefully ourselves and map all windows we know about. When terminating, we also set the keyboard focus model back to following the pointer. Handle some signals to attempt to die gracefully.
2010-07-09Handle UnmapNotify events. We find the window in the current workspaceMC
list and then also forget about it completely. We will add it again if it gets mapped. Ignore UnmapNotify events if we unmapped windows ourselves and count the number of events we expected, then resume normal unmap handling.
2010-07-09Fixed bug when we could resize a bit outside the root window.MC
2010-07-09We already did the root resize thing.MC
2010-07-08Noted that max now toggles.20100708MC
2010-07-08(no commit message)MC
2010-07-08Bump.MC
2010-07-08Warp pointer when unmaximizing.MC
2010-07-07(no commit message)MC
2010-07-07First, perhaps naive, implementation to rearrange windows when screenMC
size changes, that is when the user removed a physical screen or tilted her screen.
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
as what we get to when doing MODKEY + 1.
2010-07-07We already did fixed window handling.MC
2010-07-01Bump.MC
2010-07-01Ooops! Deleted the wrong client(s)! Moved delfromworkspace() *into*20100701-3MC
the comparison block.
2010-07-01Call top functions with a struct client instead of window. Check forMC
NULL.
2010-07-01Bumped version.20100701-2MC
2010-07-01DEBUG should not be on.MC
2010-07-01Made static flags up to date.20100701MC
Bumped version.
2010-07-01Steel blue was too little contrast.MC
2010-07-01Only set border colour on fixed windows when the user specifically setMC
them fixed, not when starting.
2010-07-01When changing workspaces, remove fixed windows from the current andMC
add them to where we're going to. Take care to save the next pointer so we don't lose our ability to traverse the list.
2010-07-01Red might not be good as feedback colour considering red/greenMC
blindness.
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
Initialize all members of client when adding a new window. Add fixed windows to current workspace when starting. Try to move fixed windows with us (that is, add it to the next workspace list) when we change workspaces. #if 0ed right now.
2010-06-30(no commit message)MC