aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c (unfollow)
Commit message (Collapse)AuthorLines
2013-06-20when selfont is configured, make sure we continue and configure the restokan-3/+3
of the screen (quick fix); discovered the hard way by Rodrigo Mosconi.
2013-06-17move Cursors into conf.okan-2/+18
2013-06-17allow mouse button4 and button5; from Rodrigo Mosconiokan-3/+5
2013-05-23alter conf_grab(_kbd) to first ungrab AnyKey/AnyModifier, then proceedokan-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.
2013-05-22since we don't have any screens yet, there's no reason to conf_{,un}grabokan-4/+1
here; just build keybindingq.
2013-05-22get rid of long standing XXX: now that we configure screens based onokan-3/+7
config options, add the keybinding GrabKey calls here
2013-05-22move validation of pointer Button into conf_mousebind so we checkokan-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.
2013-05-20- configure menuwin with the screen, then create the xft drawable usingokan-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
2013-05-19move the rest of xft init into screen_conf, since most of it is based onokan-2/+9
config parameters.
2013-05-19- switch border colors to Xftokan-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)
2013-05-11replace conf_{gap,color,font} with conf_screen since really we areokan-15/+7
configuring the screen *after* parsing, just as we do a conf_client on client manage.
2013-05-10more type fixes for mask/buttonokan-2/+2
2013-05-10int type fixesokan-4/+4
2013-04-17zap extra spaceokan-2/+1
2013-04-17add conf_ignore and move group_make_autogroup to conf_autogroup to match.okan-1/+34
2013-01-08add per-group vert/horiz tiling support; introduces 2 new bind commands,okan-1/+5
'vtile' and 'htile'; from Alexander Polakov.
2013-01-04really these are just border colors, so adjust the defineokan-4/+4
2013-01-04spacingokan-9/+9
2013-01-04get rid of struct colorokan-9/+9
2013-01-01least intrusive way to plug a memleak when unbinding a duplicate key forokan-2/+6
kbfunc_cmdexec; from Tiago Cunha
2012-12-19gc unused cmd 'flags' variableokan-3/+2
2012-12-18simplify config file setup; with Tiago Cunhaokan-30/+3
2012-12-17put a default known_hosts into confokan-1/+4
2012-12-17pull user home directory via getenv or getpwuid and stash it so we don'tokan-6/+2
need to do this everytime; with Tiago Cunha
2012-12-17knfokan-6/+6
2012-12-17non-trivial menu drawing rewrite, moving to Xft and solving variousokan-6/+13
font/color drawing issues; from Alexander Polakov
2012-11-28replace hand rolled font_make() with XftFontOpenName() and merge intookan-3/+2
font_init().
2012-11-14variable name consistency; from Thomas Pfaffokan-20/+18
2012-11-09sortokan-2/+2
2012-11-07style nit; from Tiago Cunha.okan-3/+2
2012-11-07add comment why we mouse unbind, just like kbdokan-1/+2
2012-11-07now that we have FOREACH_SAFE queue macros, use them where appropriate;okan-9/+3
from Tiago Cunha.
2012-11-07plug a leak when using 'unmap' for kbd/mouse bindings; from Tiago Cunha.okan-3/+7
2012-11-07get rid of the xfree() wrapper around free(); from Tiago Cunha.okan-14/+13
2012-10-31no longer a reason to carry conf_path in struct conf, so dice.okan-7/+7
2012-10-31replace 'reload' with 'restart', which merely re-exec's cwm using theokan-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
2012-10-29on reload, run each client through conf_client to pick up potentialokan-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.
2012-05-13knf, some from a diff from Tiago Cunha.okan-2/+2
2012-05-10wrap long lines; from Tiago Cunha.okan-3/+5
2011-09-13fix spelling I keep getting wrong for some unknown reason; found by andokan-5/+5
diff from Alexander Polakov.
2011-09-08allow configurable menu font color; from Alexander Polakov with a tweakokan-1/+3
from me. ok oga@
2011-09-08reinit menu on reload; from Alexander Polakov. needed for catchingokan-1/+2
upcoming menu config changes. ok oga@
2011-09-03simplify color initialization.okan-14/+13
ok oga@
2011-09-03Add {r,}cycleingroup to cycle through clients belonging to the sameokan-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@
2011-09-03"defaultfont" is unclear (and confusing while reading code) when it alsookan-4/+4
applies to the user supplied font, so rename. ok oga@
2011-08-29zap unused macro. ok oga@okan-8/+1
2011-08-22revert r1.11 of parse.y and create logic in conf_setup instead to dealokan-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@
2011-07-26Re-draw borders after reloading, not before; from Alexander Polakov.okan-3/+3
ok oga@
2011-07-25We are inconsistent when it comes to function returns, so just go allokan-10/+11
the way with the cwm specific parts. ok oga@
2011-07-14correct spelling; from Alexander Polakov.okan-2/+2