aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c (follow)
Commit message (Collapse)AuthorAgeLines
* when selfont is configured, make sure we continue and configure the restokan2013-06-20-3/+3
| | | | of the screen (quick fix); discovered the hard way by Rodrigo Mosconi.
* move Cursors into conf.okan2013-06-17-2/+18
|
* allow mouse button4 and button5; from Rodrigo Mosconiokan2013-06-17-3/+5
|
* alter conf_grab(_kbd) to first ungrab AnyKey/AnyModifier, then proceedokan2013-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}grabokan2013-05-22-4/+1
| | | | here; just build keybindingq.
* get rid of long standing XXX: now that we configure screens based onokan2013-05-22-3/+7
| | | | config options, add the keybinding GrabKey calls here
* move validation of pointer Button into conf_mousebind so we checkokan2013-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 usingokan2013-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 onokan2013-05-19-2/+9
| | | | config parameters.
* - switch border colors to Xftokan2013-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 areokan2013-05-11-15/+7
| | | | | configuring the screen *after* parsing, just as we do a conf_client on client manage.
* more type fixes for mask/buttonokan2013-05-10-2/+2
|
* int type fixesokan2013-05-10-4/+4
|
* zap extra spaceokan2013-04-17-2/+1
|
* add conf_ignore and move group_make_autogroup to conf_autogroup to match.okan2013-04-17-1/+34
|
* add per-group vert/horiz tiling support; introduces 2 new bind commands,okan2013-01-08-1/+5
| | | | 'vtile' and 'htile'; from Alexander Polakov.
* really these are just border colors, so adjust the defineokan2013-01-04-4/+4
|
* spacingokan2013-01-04-9/+9
|
* get rid of struct colorokan2013-01-04-9/+9
|
* least intrusive way to plug a memleak when unbinding a duplicate key forokan2013-01-01-2/+6
| | | | kbfunc_cmdexec; from Tiago Cunha
* gc unused cmd 'flags' variableokan2012-12-19-3/+2
|
* simplify config file setup; with Tiago Cunhaokan2012-12-18-30/+3
|
* put a default known_hosts into confokan2012-12-17-1/+4
|
* pull user home directory via getenv or getpwuid and stash it so we don'tokan2012-12-17-6/+2
| | | | need to do this everytime; with Tiago Cunha
* knfokan2012-12-17-6/+6
|
* non-trivial menu drawing rewrite, moving to Xft and solving variousokan2012-12-17-6/+13
| | | | font/color drawing issues; from Alexander Polakov
* replace hand rolled font_make() with XftFontOpenName() and merge intookan2012-11-28-3/+2
| | | | font_init().
* variable name consistency; from Thomas Pfaffokan2012-11-14-20/+18
|
* sortokan2012-11-09-2/+2
|
* style nit; from Tiago Cunha.okan2012-11-07-3/+2
|
* add comment why we mouse unbind, just like kbdokan2012-11-07-1/+2
|
* now that we have FOREACH_SAFE queue macros, use them where appropriate;okan2012-11-07-9/+3
| | | | from Tiago Cunha.
* plug a leak when using 'unmap' for kbd/mouse bindings; from Tiago Cunha.okan2012-11-07-3/+7
|
* get rid of the xfree() wrapper around free(); from Tiago Cunha.okan2012-11-07-14/+13
|
* no longer a reason to carry conf_path in struct conf, so dice.okan2012-10-31-7/+7
|
* replace 'reload' with 'restart', which merely re-exec's cwm using theokan2012-10-31-32/+4
| | | | | | | existing argv; same idea with respect to argv saving as Alexander Polakov. reload support was half-complete and is getting in the way. agreed to by many
* on reload, run each client through conf_client to pick up potentialokan2012-10-29-2/+7
| | | | | | | ignore and bwidth changes; also add a hack for existing maximized windows so they don't inherit a new bwidth. based on a diff from, and discussion with, Tiago Cunha.
* knf, some from a diff from Tiago Cunha.okan2012-05-13-2/+2
|
* wrap long lines; from Tiago Cunha.okan2012-05-10-3/+5
|
* fix spelling I keep getting wrong for some unknown reason; found by andokan2011-09-13-5/+5
| | | | diff from Alexander Polakov.
* allow configurable menu font color; from Alexander Polakov with a tweakokan2011-09-08-1/+3
| | | | | | from me. ok oga@
* reinit menu on reload; from Alexander Polakov. needed for catchingokan2011-09-08-1/+2
| | | | | | upcoming menu config changes. ok oga@
* simplify color initialization.okan2011-09-03-14/+13
| | | | ok oga@
* Add {r,}cycleingroup to cycle through clients belonging to the sameokan2011-09-03-1/+3
| | | | | | | group as the active client (as opposed to all unhidden clients); from Alexander Polakov, with a tiny tweak requested by oga. ok oga@
* "defaultfont" is unclear (and confusing while reading code) when it alsookan2011-09-03-4/+4
| | | | | | applies to the user supplied font, so rename. ok oga@
* zap unused macro. ok oga@okan2011-08-29-8/+1
|
* revert r1.11 of parse.y and create logic in conf_setup instead to dealokan2011-08-22-9/+15
| | | | | | | | with the various scenarios of when to attempt a parse of the config, load defaults, and when to warn and/or exit. triggered by bogus warning first noticed by sobrado@. ok oga@
* Re-draw borders after reloading, not before; from Alexander Polakov.okan2011-07-26-3/+3
| | | | ok oga@
* We are inconsistent when it comes to function returns, so just go allokan2011-07-25-10/+11
| | | | | | the way with the cwm specific parts. ok oga@
* correct spelling; from Alexander Polakov.okan2011-07-14-2/+2
|