Commit message (Collapse) | Author | Lines | ||
---|---|---|---|---|
2013-05-06 | negative values for borderwith, moveamount, snapdist and gap are | okan | -3/+19 | |
configuration errors, so warn and load defaults. | ||||
2013-04-17 | add conf_ignore and move group_make_autogroup to conf_autogroup to match. | okan | -8/+3 | |
2013-01-04 | really these are just border colors, so adjust the define | okan | -2/+2 | |
2013-01-04 | get rid of struct color | okan | -10/+10 | |
2012-12-19 | gc unused cmd 'flags' variable | okan | -2/+2 | |
2012-12-17 | knf | okan | -2/+2 | |
2012-12-17 | non-trivial menu drawing rewrite, moving to Xft and solving various | okan | -8/+17 | |
font/color drawing issues; from Alexander Polakov | ||||
2012-10-31 | no longer a reason to carry conf_path in struct conf, so dice. | okan | -3/+1 | |
2011-09-08 | allow configurable menu font color; from Alexander Polakov with a tweak | okan | -2/+7 | |
from me. ok oga@ | ||||
2011-09-08 | allow menufg/menubg to be configurable; from Alexander Polakov. | okan | -1/+12 | |
ok oga@ | ||||
2011-09-03 | "defaultfont" is unclear (and confusing while reading code) when it also | okan | -4/+4 | |
applies to the user supplied font, so rename. ok oga@ | ||||
2011-08-22 | revert r1.11 of parse.y and create logic in conf_setup instead to deal | okan | -3/+1 | |
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-25 | We are inconsistent when it comes to function returns, so just go all | okan | -5/+5 | |
the way with the cwm specific parts. ok oga@ | ||||
2011-07-14 | correct spelling; from Alexander Polakov. | okan | -3/+3 | |
2011-06-24 | introduce a new config option to snap to the screen edge. 'snapdist' | okan | -2/+7 | |
keyword taken from a diff from Sviatoslav Chagaev to do the same thing, but implemented in a completely way (based on some very old code from mk@). default set to 0, so no behavior change. ok oga@ (who would also like to take it further...) | ||||
2010-09-25 | picked a henning diff from src - original log: | okan | -3/+4 | |
fix linecount bug with comments spanning multiple lines problem reported with the obvious fix for bgpd by Sebastian Benoit <benoit-lists at fb12.de>, also PR 6432 ok oga@ | ||||
2010-01-27 | - allow per-screen gap; not (yet) user configurable. | okan | -7/+6 | |
- teach _NET_WORKAREA about gap. ok oga@ | ||||
2009-12-15 | pull all non-X11 headers from calmwm.h and place them only where they | okan | -1/+5 | |
are required. encourged to go all the way by oga@ | ||||
2009-12-15 | merge the 2 common header files; specific includes to be pulled out as | okan | -2/+1 | |
separate commits. ok oga@ | ||||
2009-12-11 | Implement _NET_DESKTOP_NAMES, this one was a bit tricky since thespec | oga | -18/+2 | |
says that a pager can change the property at any time (most need a clientmessage). So deal with property updates. Needed to shuffle some of the other code around since we can't just use shortcut_to_name[] everywhere now. ok okan@ | ||||
2009-06-20 | unroll XCALLOC/XMALLOC macros; since we use xcalloc/xmalloc all over the | okan | -4/+4 | |
place anyway, this makes things a bit more consistent; from Thomas Pfaff ok oga@ | ||||
2009-05-17 | a long time coming - re-work the way we deal with colors: since we're | okan | -1/+35 | |
using Xft(3), use it to select the font color as well instead of trying to build one; properly allocate and free colors at-will, e.g. we now have configurable colors. feedback and ok's todd@ and oga@ | ||||
2009-02-07 | add 'moveamount' to cwmrc; it sets keyboard movement amount, making | martynas | -2/+7 | |
it more useful on large screens manpage tweak & ok jmc@ ok okan@, oga@ | ||||
2009-01-23 | move conf_clear() and add proto. | okan | -44/+1 | |
ok todd@ oga@ | ||||
2009-01-22 | The default font name is strduped, so don't test for default font name | oga | -3/+2 | |
(therefore leaking it) when cleaning up a conf struct. ok okan@ | ||||
2009-01-21 | borderwidth as a cwmrc(5) keyword, really helps debugging | todd | -2/+7 | |
from okan@ ok oga@ | ||||
2009-01-11 | shortcut_to_name should not be defined as static in a header file. Put | oga | -3/+1 | |
it in group.c where it it used most, and add an extern definition for the other users of it. Found by gcc -Wall. ok okan@ | ||||
2009-01-11 | better comparison idiom; found with -Wall | okan | -11/+11 | |
ok oga@ | ||||
2008-06-16 | Make this not crash when compiled with -g. | mk | -6/+3 | |
Found by myself, analysis by kurt@, fix by me with input from otto. ``Just get some fix in...'' deraadt | ||||
2008-06-15 | Rip out and burn the HASH_* stuff. We don't need a SPLAY tree for one font. | oga | -6/+2 | |
makes the code a lot simpler. While here rearrange the font handling functions to be less shit. ok and help okan@. | ||||
2008-06-14 | slightly alter the semantics of config files: | okan | -2/+3 | |
- if no config file, continue silently and apply defaults - if config file, parse and move on - if config file specified but not found, error out ok oga@ | ||||
2008-06-14 | confable menu and window mouse bindings from rivo nurges (thanks!) with | okan | -2/+20 | |
some minor fixups, man page bits and knf. ok oga@ | ||||
2008-05-19 | allow an autogroup value of 0 to mean no group. This means you can set | oga | -2/+2 | |
automatically "sticky" (in the traditional sense of the word) windows in autogroup mode. Based on an initial diff from Andrew Fresh, thanks! ok okan@. | ||||
2008-05-18 | Kill conf_get_int(), it was a silly function anyway. | oga | -2/+1 | |
Since it's only used once just put the (simplified) logic into conf_client() instead. This means we can kill an enum and CONF_IGNORECASE, too. ok okan@ | ||||
2008-05-18 | When we're cleaning out the lists in parse_config and conf_clear it's a | oga | -37/+17 | |
lot simpler just to do while (entry = TAILQ_FIRST(head)) than to do a for () over the whole lot. Simpler, shorter and probably faster. ok okan@ | ||||
2008-04-29 | Allow slashes in unquoted strings. | simon | -4/+3 | |
From Pierre Riteau Makes sense to oga@ | ||||
2008-04-16 | Replace a few leftover calls to strdup and calloc with xstrdup and xcalloc | oga | -11/+6 | |
respectively. ok okan. | ||||
2008-04-15 | hit it with the knf stick. | oga | -21/+28 | |
2008-04-15 | Add "gap" support to .cwmrc. The options put in here make gaps on the edge | oga | -3/+11 | |
of the screen where an application won't be {,vert}maximized over. used for placing a statusbar or something like xclock. Patch from Edd Barrett, with input from myself and okan. Thanks! ok okan@. | ||||
2008-04-15 | malloc -> calloc | okan | -3/+2 | |
suggested by and ok oga@ | ||||
2008-03-23 | Replace the symlink configuration scheme with a simple yacc parser as | simon | -0/+583 | |
found in other places of the tree. Remove sticky and font commandline options and add another one for alternative config locations. Split off cwmrc(5) from cwm(1), nuke #ifdef __OpenBSD__ while there. tested by various kind people, feedback from oga@ and okan@ - thanks! ok oga@, jasper@, okan@ |