summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-31Added at least some RANDR support.Michael Cardell Widerkrantz
Now keeps track of physical monitors in list monlist of struct monitor. Subscribes to a RANDR notification and updates our view of the physical outputs. Two new keys: Mod + , and . to move windows back or forwards on physical screens. Uses new functions prevscreen() and nextscreen(). New functions: - setuprandr(). Initialize RANDR extension. - getrandr(). Get resources from RANDR extenstion. - getoutputs(). Goes through all video outputs and stores them in list. - fitonscreen(). Before mapping a window, make sure it fits on the screen. Rewrote a lot of functions to use this instead of their own code. - movelim(). Move a window with physical screen limits. Rewrote functions to use this. - resizelim(). Resize a window with physical screen limits. Rewrote functions to call this. - findmonitor(). Looks for an output in list by ID. - findmonbycoord(). Ditto but with x,y coordinates. If coords are within an output, we return it. - delmonitor(). Removes output from list. - addmonitor(). Add it. Simplified many functions.
2011-05-05Removed done item.Michael Cardell Widerkrantz
2011-04-12Add install for man page.20110412Michael Cardell Widerkrantz
Bump.
2011-03-30Notes about the position of the mouse cursor.Michael Cardell Widerkrantz
2011-03-29*** empty log message ***Michael Cardell Widerkrantz
2011-03-29Always work on the currently focused window when moving and resizingMichael Cardell Widerkrantz
and not in the window the mouse cursor happen to be in when the mouse button is pressed. However, just do move and resize if the mouse cursor is inside the window we care about. There's a limit to sloppy focus. It gets confusing and we might lose focus to another window if we allow move and resize *and continue to put the mouse cursor back to where it was when starting, relative to the window*, as we do now. Removed code for special handling of the root window. We don't use it anyway. Extra checks for focuswin == NULL.
2011-03-28Always raise window when fixing it on all workspaces. When movingMichael Cardell Widerkrantz
windows between workspaces, this makes us sure we can find it on the workspace we're going to. Thanks to Simon Friis for noticing.
2011-03-28Aaah! No debug!Michael Cardell Widerkrantz
2011-03-28Include dmalloc here as well.Michael Cardell Widerkrantz
2011-03-28Bump.Michael Cardell Widerkrantz
2011-03-28Removed USERKEY_MOD and KEY_ALT special handling. Now asks X serverMichael Cardell Widerkrantz
for keycodes with MODKEY mask instead and checks for those. Also stops tabbing around not only when MODKEY keys are released, but also when another MODKEY command is pressed.
2011-03-28Year 2011 added.Michael Cardell Widerkrantz
2011-03-20Check explicitly for key and modifier mappings when remapping theMichael Cardell Widerkrantz
keyboard. We don't want to do anything when mouse buttons have been remapped.
2011-03-20*** empty log message ***Michael Cardell Widerkrantz
2011-03-20*** empty log message ***Michael Cardell Widerkrantz
2011-03-20Bump.Michael Cardell Widerkrantz
2011-03-20Handle mapping notify and regrab of keys. When implementing this weMichael Cardell Widerkrantz
leaked memory. Noticed that we need to use special free() function for keysyms.
2011-03-18Updated to match the new behaviour of MODKEY + Tab.Michael Cardell Widerkrantz
Changed xsetroot example.
2011-03-18*** empty log message ***Michael Cardell Widerkrantz
2011-03-08*** empty log message ***20110308Michael Cardell Widerkrantz
2011-03-08Merge branch 'master' of /home/mc/public_www/git/mcwmMichael Cardell Widerkrantz
2011-03-08In some cases focuswin isn't NULL but is on another workspace. A bug,Michael Cardell Widerkrantz
but needs to be handled.
2011-03-08Explicitly check for NULL client before trying to configure a window.Michael Cardell Widerkrantz
2011-03-08Bug in movetohead(). Old head needs to be updated with new prevMichael Cardell Widerkrantz
pointer.
2011-03-08*** empty log message ***Michael Cardell Widerkrantz
2011-03-08Bump.Michael Cardell Widerkrantz
2011-03-08We don't need movetonext().Michael Cardell Widerkrantz
2011-03-08*** empty log message ***Michael Cardell Widerkrantz
2011-03-08Add support for Alt-Tabbing to the last focused window.Michael Cardell Widerkrantz
2011-02-23Code cleaning.Michael Cardell Widerkrantz
2011-02-22Simplify focusnext(). We already have a pointer to our place in theMichael Cardell Widerkrantz
wslist in struct client. Use it! Don't go through the list looking for our data.
2011-02-22*** empty log message ***Michael Cardell Widerkrantz
2011-02-22*** empty log message ***Michael Cardell Widerkrantz
2011-02-19Check if geometry really changed before re-arranging windows. If itMichael Cardell Widerkrantz
didn't, do nothing.
2011-02-19Whitespace.Michael Cardell Widerkrantz
2011-02-19Reset per window max state when physical screens change. Now uses aMichael Cardell Widerkrantz
winlist instead of asking the X server for all windows. Leave x coord alone when toggling vertmax.
2011-02-19Spelling in comment.Michael Cardell Widerkrantz
2011-02-19*** empty log message ***Michael Cardell Widerkrantz
2011-02-19Also grab all keys + SHIFTMOD.Michael Cardell Widerkrantz
2011-02-19Specifically grab the keycodes we bind.Michael Cardell Widerkrantz
2011-02-07Added a few ideas.Michael Cardell Widerkrantz
2011-01-09More.Michael Cardell Widerkrantz
2010-12-01Make it clear how to move a window between workspaces.Michael Cardell Widerkrantz
2010-11-18Initialize mode_x and mode_y. Not really necessary, but the compilerMichael Cardell Widerkrantz
complained. Added explicit check for mode equals 0 on button release and break immedietely. Easier to read. Added some comments.
2010-11-18Added note about modifiers.20101118-2Michael Cardell Widerkrantz
2010-11-18Bump.Michael Cardell Widerkrantz
2010-11-18Bump version.20101118Michael Cardell Widerkrantz
Added optimization.
2010-11-18Changed Mod2 to Mod4 when I realized that Mod2 is usually bound toMichael Cardell Widerkrantz
NumLock, a locking key, in many default configurations!
2010-11-18*** empty log message ***Michael Cardell Widerkrantz
2010-11-12News added.20101101Michael Cardell Widerkrantz