Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | - remove redundant range check for buttons in conf_bind_mouse. | okan | 2014-01-20 | -62/+52 | |
| | | | | | | | | | - make conf_bind_kbd return error on non-matches to match what conf_bind_mouse does. - rename some variables while here for clarity. - constify bind and cmd. from Tiago Cunha. | ||||
* | use consistent types | okan | 2014-01-03 | -9/+9 | |
| | |||||
* | bring mousefunc closer to kbfunc | okan | 2014-01-02 | -15/+18 | |
| | |||||
* | replace with memset | okan | 2013-12-17 | -2/+2 | |
| | |||||
* | Implement support for EWMH's _NET_WM_STATE_FULLSCREEN hint. | okan | 2013-12-16 | -2/+5 | |
| | | | | | | | | | | | | | | | | Since we already have a form of 'maximize', we need to differentiate between 'maximize' and the new 'fullscreen' mode. The 'maximize' mode will continue to honor gap but now *retains* the border, matching the 'vert/horz maximize' behaviour. The new 'fullscreen' mode supports and follows the _NET_WM_STATE_FULLSCREEN hint, allowing the client perform additional window modifications; in this mode, cwm(1) will *ignore* gap, remove borders and freeze(move/resize) the client. Additionally, 'fullscreen' mode will remember various combinations of previous states. * default keybinding changes: CM-f 'fullscreen', CM-m 'maximize' (re-map as desired). Positive feedback from a few, testing and ok sthen@ | ||||
* | Add support for XUrgency and matching _NET_WM_STATE_DEMANDS_ATTENTION | okan | 2013-12-13 | -1/+3 | |
| | | | | | | | ewmh hint; urgencyborder is configurable. The urgency flag will stick, even while on a client in a non-viewable group, until the client receives focus (where the border is reset). Initial diff from Thomas Adam with some changes/enhancements from me. | ||||
* | like gap, make snapdist per screen | okan | 2013-11-27 | -1/+2 | |
| | |||||
* | Remove the option to bind a key by keycode with brackets; it never | okan | 2013-11-27 | -15/+4 | |
| | | | | | | | worked (and no one complained!). While it's fairly easy to fix, users should be using keysym names and not keycodes. Discussed at length months ago with todd@, matthieu@ and Owain. | ||||
* | wrap key ungrab like btn ungrab, for it'll be used again | okan | 2013-10-20 | -2/+2 | |
| | |||||
* | Using xu_btn_ungrab() buttons during client_leave doesn't work (error | okan | 2013-10-19 | -1/+3 | |
| | | | | | | | BadValue) when the modifier is already AnyModifier . Instead alter xu_btn_ungrab() to ungrab AnyButton/AnyModifier and call it only when a client is coming into focus in client_setactive(), instead of iterating over ignore mods - matches how we handle key grabs. | ||||
* | trying parsing a XLFD string first, then by pattern | okan | 2013-10-07 | -4/+7 | |
| | |||||
* | don't need the size here | okan | 2013-07-16 | -2/+2 | |
| | |||||
* | max -> nitems | okan | 2013-07-16 | -2/+2 | |
| | |||||
* | simplify atom handling; allows us to limit to one round-trip to server | okan | 2013-07-15 | -1/+38 | |
| | | | | for gathering Atoms. | ||||
* | type fixes | okan | 2013-07-10 | -3/+3 | |
| | |||||
* | add support for mouse based group {,r}cycle; from Rodrigo Mosconi. not | okan | 2013-07-08 | -1/+3 | |
| | | | | bound by default. | ||||
* | move kbfunc and mousefunc closer together | okan | 2013-07-08 | -35/+38 | |
| | |||||
* | clarify kbd vs mouse functions | okan | 2013-07-08 | -17/+17 | |
| | |||||
* | move duplicate kbd and mouse modifier parsing to a generic function; | okan | 2013-07-08 | -35/+31 | |
| | | | | from Tiago Cunha | ||||
* | properly fix (and re-organize) selfont selection. | okan | 2013-06-23 | -14/+12 | |
| | |||||
* | when selfont is configured, make sure we continue and configure the rest | okan | 2013-06-20 | -3/+3 | |
| | | | | of the screen (quick fix); discovered the hard way by Rodrigo Mosconi. | ||||
* | move Cursors into conf. | okan | 2013-06-17 | -2/+18 | |
| | |||||
* | allow mouse button4 and button5; from Rodrigo Mosconi | okan | 2013-06-17 | -3/+5 | |
| | |||||
* | alter conf_grab(_kbd) to first ungrab AnyKey/AnyModifier, then proceed | okan | 2013-05-23 | -40/+16 | |
| | | | | | | | | to grab keys in keybindingq. we don't need to ungrab/grab on every addition to the queue, just once with a complete keybindingq; simplify grabbing keys per screen (during init) and during a MappingNotify. while here, change conf_grab_{kbd,mouse} to require only a Window. | ||||
* | since we don't have any screens yet, there's no reason to conf_{,un}grab | okan | 2013-05-22 | -4/+1 | |
| | | | | here; just build keybindingq. | ||||
* | get rid of long standing XXX: now that we configure screens based on | okan | 2013-05-22 | -3/+7 | |
| | | | | config options, add the keybinding GrabKey calls here | ||||
* | move validation of pointer Button into conf_mousebind so we check | okan | 2013-05-22 | -23/+23 | |
| | | | | | | | validity during the parse phase and not bother adding it to the queue, instead of each time a client needs to grab (when it's too late); furthermore, make this a config error, stop parsing and load the default config. | ||||
* | - configure menuwin with the screen, then create the xft drawable using | okan | 2013-05-20 | -6/+11 | |
| | | | | | the menu window since that's the only place on which we draw - elminate the need to change the drawable on every font draw | ||||
* | move the rest of xft init into screen_conf, since most of it is based on | okan | 2013-05-19 | -2/+9 | |
| | | | | config parameters. | ||||
* | - switch border colors to Xft | okan | 2013-05-19 | -17/+32 | |
| | | | | | | | | | - merge border/menu color structures/functions since they now both use Xft - switch xu_xorcolor to operating on XftColor instead of just XRenderColor (basically adding pixel) - if color name allocation fails, revert back to default (this, along with font validation should occur during config parse, but we don't have screens setup yet - likely to change at some point) | ||||
* | replace conf_{gap,color,font} with conf_screen since really we are | okan | 2013-05-11 | -15/+7 | |
| | | | | | configuring the screen *after* parsing, just as we do a conf_client on client manage. | ||||
* | more type fixes for mask/button | okan | 2013-05-10 | -2/+2 | |
| | |||||
* | int type fixes | okan | 2013-05-10 | -4/+4 | |
| | |||||
* | zap extra space | okan | 2013-04-17 | -2/+1 | |
| | |||||
* | add conf_ignore and move group_make_autogroup to conf_autogroup to match. | okan | 2013-04-17 | -1/+34 | |
| | |||||
* | add per-group vert/horiz tiling support; introduces 2 new bind commands, | okan | 2013-01-08 | -1/+5 | |
| | | | | 'vtile' and 'htile'; from Alexander Polakov. | ||||
* | really these are just border colors, so adjust the define | okan | 2013-01-04 | -4/+4 | |
| | |||||
* | spacing | okan | 2013-01-04 | -9/+9 | |
| | |||||
* | get rid of struct color | okan | 2013-01-04 | -9/+9 | |
| | |||||
* | least intrusive way to plug a memleak when unbinding a duplicate key for | okan | 2013-01-01 | -2/+6 | |
| | | | | kbfunc_cmdexec; from Tiago Cunha | ||||
* | gc unused cmd 'flags' variable | okan | 2012-12-19 | -3/+2 | |
| | |||||
* | simplify config file setup; with Tiago Cunha | okan | 2012-12-18 | -30/+3 | |
| | |||||
* | put a default known_hosts into conf | okan | 2012-12-17 | -1/+4 | |
| | |||||
* | pull user home directory via getenv or getpwuid and stash it so we don't | okan | 2012-12-17 | -6/+2 | |
| | | | | need to do this everytime; with Tiago Cunha | ||||
* | knf | okan | 2012-12-17 | -6/+6 | |
| | |||||
* | non-trivial menu drawing rewrite, moving to Xft and solving various | okan | 2012-12-17 | -6/+13 | |
| | | | | font/color drawing issues; from Alexander Polakov | ||||
* | replace hand rolled font_make() with XftFontOpenName() and merge into | okan | 2012-11-28 | -3/+2 | |
| | | | | font_init(). | ||||
* | variable name consistency; from Thomas Pfaff | okan | 2012-11-14 | -20/+18 | |
| | |||||
* | sort | okan | 2012-11-09 | -2/+2 | |
| | |||||
* | style nit; from Tiago Cunha. | okan | 2012-11-07 | -3/+2 | |
| |