summary refs log tree commit diff
path: root/parse.y
Commit message (Collapse)AuthorAgeFilesLines
* a long time coming - re-work the way we deal with colors: since we'reokan2009-05-171-0/+34
| | | | | | | | 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@
* add 'moveamount' to cwmrc; it sets keyboard movement amount, makingmartynas2009-02-071-1/+6
| | | | | | it more useful on large screens manpage tweak & ok jmc@ ok okan@, oga@
* move conf_clear() and add proto.okan2009-01-231-43/+0
| | | | ok todd@ oga@
* The default font name is strduped, so don't test for default font nameoga2009-01-221-2/+1
| | | | | | (therefore leaking it) when cleaning up a conf struct. ok okan@
* borderwidth as a cwmrc(5) keyword, really helps debuggingtodd2009-01-211-1/+6
| | | | | from okan@ ok oga@
* shortcut_to_name should not be defined as static in a header file. Putoga2009-01-111-2/+0
| | | | | | | 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@
* better comparison idiom; found with -Wallokan2009-01-111-10/+10
| | | | ok oga@
* Make this not crash when compiled with -g.mk2008-06-161-5/+2
| | | | | | Found by myself, analysis by kurt@, fix by me with input from otto. ``Just get some fix in...'' deraadt
* Rip out and burn the HASH_* stuff. We don't need a SPLAY tree for one font.oga2008-06-151-5/+1
| | | | | | | makes the code a lot simpler. While here rearrange the font handling functions to be less shit. ok and help okan@.
* slightly alter the semantics of config files:okan2008-06-141-1/+2
| | | | | | | | - 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@
* confable menu and window mouse bindings from rivo nurges (thanks!) withokan2008-06-141-1/+19
| | | | | | some minor fixups, man page bits and knf. ok oga@
* allow an autogroup value of 0 to mean no group. This means you can setoga2008-05-191-1/+1
| | | | | | | | | automatically "sticky" (in the traditional sense of the word) windows in autogroup mode. Based on an initial diff from Andrew Fresh, thanks! ok okan@.
* Kill conf_get_int(), it was a silly function anyway.oga2008-05-181-1/+0
| | | | | | | | 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@
* When we're cleaning out the lists in parse_config and conf_clear it's aoga2008-05-181-36/+16
| | | | | | | 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@
* Allow slashes in unquoted strings.simon2008-04-291-3/+2
| | | | | From Pierre Riteau Makes sense to oga@
* Replace a few leftover calls to strdup and calloc with xstrdup and xcallocoga2008-04-161-10/+5
| | | | | | respectively. ok okan.
* hit it with the knf stick.oga2008-04-151-20/+27
|
* Add "gap" support to .cwmrc. The options put in here make gaps on the edgeoga2008-04-151-2/+10
| | | | | | | | | 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@.
* malloc -> callocokan2008-04-151-2/+1
| | | | suggested by and ok oga@
* Replace the symlink configuration scheme with a simple yacc parser assimon2008-03-231-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@