Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-18 | Don't warp pointer to the same place it already was at when doing | Michael Cardell Widerkrantz | |
keyboard resize. Instead, only warp when we risk losing the pointer to another window. | |||
2010-07-17 | Keep window relative pointer position when resizing with keyboard. If | Michael Cardell Widerkrantz | |
the old relative pointer coordinates are outside the new geometry, warp the pointer to the middle of the window. | |||
2010-07-17 | Keep pointer position relative window when moving with keyboard. | Michael Cardell Widerkrantz | |
2010-07-17 | Save cursor position inside of window when moving or resizing. Go back | Michael 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-17 | Get rid of unused variables for storing starting point of pointer when | Michael 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 | If we resize a window and the pointer just happens to be on top of | MC | |
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-13 | Missed a pixel in height and width when moving with mouse. | MC | |
2010-07-10 | Added helpful comment about how we might want to change unmap | MC | |
handling. Help now lists -x option. | |||
2010-07-10 | Instead of counting UnmapNotify events, which might get fouled up if a | MC | |
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-10 | Support setting of border colour of fixed windows from command | MC | |
arguments. | |||
2010-07-10 | Only 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-09 | Handle UnmapNotify events. We find the window in the current workspace | MC | |
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-09 | Fixed bug when we could resize a bit outside the root window. | MC | |
2010-07-08 | Warp pointer when unmaximizing. | MC | |
2010-07-07 | First, perhaps naive, implementation to rearrange windows when screen | MC | |
size changes, that is when the user removed a physical screen or tilted her screen. | |||
2010-07-07 | Store coordinates and geometry when maximizing so we can revert. | MC | |
2010-07-07 | Better 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 0 | MC | |
as what we get to when doing MODKEY + 1. | |||
2010-07-01 | Ooops! Deleted the wrong client(s)! Moved delfromworkspace() *into*20100701-3 | MC | |
the comparison block. | |||
2010-07-01 | Call top functions with a struct client instead of window. Check for | MC | |
NULL. | |||
2010-07-01 | Only set border colour on fixed windows when the user specifically set | MC | |
them fixed, not when starting. | |||
2010-07-01 | When changing workspaces, remove fixed windows from the current and | MC | |
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-01 | Give some feedback about fixed windows by changing their focus colour. | MC | |
2010-07-01 | Delete 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 | Ahem. *Unsigned* 32 bit integer. | MC | |
Cast a few debug printouts to stop compiler warnings. Removed unused function parameters. | |||
2010-06-30 | We say in getting and setting properties that the workspace number is | MC | |
a 32 bit integer, so we might as well actually use that type internally as well. | |||
2010-06-30 | Move adding to workspace from setupwin() to setupscreen() and newwin() | MC | |
to avoid mapping the mysterious GTK client leaders. | |||
2010-06-30 | Always change to first workspace when starting. | MC | |
2010-06-30 | Special treatment for focus on fixed windows. | MC | |
2010-06-30 | Unfocus before unmapping and only if we have a focus. | MC | |
2010-06-30 | Forget old focus before mapping new windows on new workspace. | MC | |
2010-06-30 | Added really simple handling of _NET_WM_DESKTOP so windows will belong | MC | |
to the right workspace even if we restart. | |||
2010-06-30 | Don't check for sameness if focuswin is NULL already. | MC | |
2010-06-30 | Added virtual workspaces. | MC | |
2010-06-30 | We don't really need to remember coordinates and geometry for every | MC | |
client. At least not right now. Same goes for vscreen. Removed them and all code concerning them. | |||
2010-06-29 | Added focus change from keyboard, Mod2-TAB. For now, it's a simple | MC | |
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. | |||
2010-06-24 | Added debug printouts for incoming events. | MC | |
2010-06-24 | Added real colour handling and -f and -u options for setting them. | MC | |
2010-06-23 | We need both normal and ungrab enter notify events. | MC | |
2010-06-23 | Ignore windows with override redirect set when initializing at start. | MC | |
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). | |||
2010-06-23 | Move terminal variable into struct conf. | MC | |
2010-06-23 | Handle a request to set border width, but only set it to BORDERWIDTH. | MC | |
Handle setting of sibling. Handle stacking order request. | |||
2010-06-23 | A MapRequest always place the window on top in the stacking order. | MC | |
Removed superflous raisewindow(). | |||
2010-06-22 | Added terminal option. | MC | |
Added help text. Removed unused "m" option. | |||
2010-06-22 | Fork twice(!) when starting new terminal. Also wait for the first | MC | |
child to exit so we don't leave any zombies. | |||
2010-06-22 | Include stdint explictly. | MC | |
Handle default case in keypress switch. | |||
2010-06-21 | Add handling of Circulate Request of subwindows. Now xpdf search | MC | |
works! \o/ | |||
2010-06-21 | Don't need to set focusin twice. | MC | |
2010-06-21 | Quote ICCCM. | MC | |
2010-06-21 | Removed the size hints in newwindow(). | MC | |
ICCCM seems to indicate we should use geometry and allow configure requests from the client to change size instead. |