Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Do not print any parse errors when ~/.cwmrc is missing. Regression introduced in | anton | 2018-02-19 | -11/+11 |
| | | | | | | revision 1.109 of calmwm.c. ok okan@ | |||
* | Simplification; use asprintf where appropriate now. | okan | 2018-02-02 | -5/+7 |
| | ||||
* | Convert menu-exec-wm from an abritrary exec menu, into a config-based menu from | okan | 2017-12-29 | -2/+13 |
| | | | | | | | | which one may configure (wm <name> <path_and_args>) (and choose) specific window managers to replace the running one. 'wm cwm cwm' is included by default. No objections and seems sensible to sthen. | |||
* | Switch bwidth type; unfortunately X11 is inconsistent. | okan | 2017-04-26 | -2/+2 |
| | ||||
* | Normalize bind function names, based on a few categories: window, group, menu | okan | 2016-12-01 | -17/+36 |
| | | | | | | | | and pointer. Replace 'bind' and 'mousebind' options with 'bind-key' and 'bind-mouse', respectively, replace special 'unmap' keyword with 'unbind-key' and 'unbind-mouse', and additionally allow unbinding all with 'all' keyword. | |||
* | Define callbacks, then default bindings. | okan | 2016-11-14 | -2/+2 |
| | ||||
* | Defaults are split between defines and conf_init(); normalize these, as | okan | 2016-10-03 | -5/+2 |
| | | | | well as give 'sticky' groups its own variable. | |||
* | Fix autogroup so name,class doesn't need to be quoted. | kspillner | 2015-05-17 | -1/+12 |
| | | | | ok okan@ on an older version of this diff | |||
* | Make window name and window class separate parameters to conf_autogroup. | kspillner | 2015-05-17 | -2/+2 |
| | | | | | | No functional change, but will be used shortly. ok okan@ | |||
* | simplify error messages; discussed with doug@ | okan | 2015-02-14 | -7/+6 |
| | ||||
* | Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX | okan | 2015-01-19 | -2/+2 |
| | | | | | | and HOST_NAME_MAX+1, respectively. ok doug@ | |||
* | Catch up with src parse.y changes by jsg@: | okan | 2015-01-17 | -1/+4 |
| | | | | | | | | Don't allow embedded nul characters in strings. Fixes a pfctl crash with an anchor name containing an embedded nul found with the afl fuzzer. pfctl parse.y patch from and ok deraadt@ | |||
* | Add gcc format attributes for yyerror(); fix a few yyerror() calls. | okan | 2015-01-16 | -7/+9 |
| | | | | Adapted from src parse.y changes by doug@. OK doug@ | |||
* | re-add lost free from previous | okan | 2014-01-30 | -1/+2 |
| | ||||
* | Switch ignoreq to winname struct since it's basically the same thing; | okan | 2014-01-30 | -7/+2 |
| | | | | removes limit on name matching. | |||
* | Check command name/path for truncation and provide user feedback during | okan | 2014-01-29 | -2/+7 |
| | | | | | | config parse (and use conf_cmd_add to populate defaults); based on a discussion with Tiago Cunha. While this looks ugly, there are likely some other changes here to come. | |||
* | Check ignore windowname for truncation and provide user feedback during | okan | 2014-01-28 | -2/+6 |
| | | | | config parse; based on a discussion with Tiago Cunha. | |||
* | Move conf_init/clear into main - no behaviour change; from Tiago Cunha. | okan | 2014-01-28 | -7/+2 |
| | ||||
* | simplify parse_config using assignment; inspired by a very old diff from | okan | 2014-01-27 | -58/+3 |
| | | | | Tiago Cunha. | |||
* | more range checking | okan | 2014-01-24 | -5/+8 |
| | ||||
* | constify and rename some confusing variables around cmdq. | okan | 2014-01-20 | -2/+2 |
| | ||||
* | - remove redundant range check for buttons in conf_bind_mouse. | okan | 2014-01-20 | -2/+7 |
| | | | | | | | | | - 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. | |||
* | Add support for XUrgency and matching _NET_WM_STATE_DEMANDS_ATTENTION | okan | 2013-12-13 | -2/+7 |
| | | | | | | | 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. | |||
* | Log message: | benno | 2013-11-25 | -6/+6 |
| | | | | | | use u_char for buffers in yylex, for ctype calls, as done in all other parse.y in the tree found by millert@, ok okan@ | |||
* | max -> nitems | okan | 2013-07-16 | -2/+2 |
| | ||||
* | clarify kbd vs mouse functions | okan | 2013-07-08 | -3/+3 |
| | ||||
* | Unlike other parse.y variants, cwm's allowed 'command xx /path/to/xx' without | sthen | 2013-06-03 | -4/+4 |
| | | | | | quotes. Reinstate this support lost in recent sync diff and add a comment to show that it's intentional. ok okan@ | |||
* | move validation of pointer Button into conf_mousebind so we check | okan | 2013-05-22 | -2/+7 |
| | | | | | | | 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. | |||
* | sync with src changes | okan | 2013-05-22 | -31/+34 |
| | ||||
* | - switch border colors to Xft | okan | 2013-05-19 | -13/+10 |
| | | | | | | | | | - 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) | |||
* | negative values for borderwith, moveamount, snapdist and gap are | okan | 2013-05-06 | -3/+19 |
| | | | | configuration errors, so warn and load defaults. | |||
* | add conf_ignore and move group_make_autogroup to conf_autogroup to match. | okan | 2013-04-17 | -8/+3 |
| | ||||
* | really these are just border colors, so adjust the define | okan | 2013-01-04 | -2/+2 |
| | ||||
* | get rid of struct color | okan | 2013-01-04 | -10/+10 |
| | ||||
* | gc unused cmd 'flags' variable | okan | 2012-12-19 | -2/+2 |
| | ||||
* | knf | okan | 2012-12-17 | -2/+2 |
| | ||||
* | non-trivial menu drawing rewrite, moving to Xft and solving various | okan | 2012-12-17 | -8/+17 |
| | | | | font/color drawing issues; from Alexander Polakov | |||
* | no longer a reason to carry conf_path in struct conf, so dice. | okan | 2012-10-31 | -3/+1 |
| | ||||
* | allow configurable menu font color; from Alexander Polakov with a tweak | okan | 2011-09-08 | -2/+7 |
| | | | | | | from me. ok oga@ | |||
* | allow menufg/menubg to be configurable; from Alexander Polakov. | okan | 2011-09-08 | -1/+12 |
| | | | | ok oga@ | |||
* | "defaultfont" is unclear (and confusing while reading code) when it also | okan | 2011-09-03 | -4/+4 |
| | | | | | | applies to the user supplied font, so rename. ok oga@ | |||
* | revert r1.11 of parse.y and create logic in conf_setup instead to deal | okan | 2011-08-22 | -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@ | |||
* | We are inconsistent when it comes to function returns, so just go all | okan | 2011-07-25 | -5/+5 |
| | | | | | | the way with the cwm specific parts. ok oga@ | |||
* | correct spelling; from Alexander Polakov. | okan | 2011-07-14 | -3/+3 |
| | ||||
* | introduce a new config option to snap to the screen edge. 'snapdist' | okan | 2011-06-24 | -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...) | |||
* | picked a henning diff from src - original log: | okan | 2010-09-25 | -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@ | |||
* | - allow per-screen gap; not (yet) user configurable. | okan | 2010-01-27 | -7/+6 |
| | | | | | | - teach _NET_WORKAREA about gap. ok oga@ | |||
* | pull all non-X11 headers from calmwm.h and place them only where they | okan | 2009-12-15 | -1/+5 |
| | | | | | | are required. encourged to go all the way by oga@ | |||
* | merge the 2 common header files; specific includes to be pulled out as | okan | 2009-12-15 | -2/+1 |
| | | | | | | separate commits. ok oga@ | |||
* | Implement _NET_DESKTOP_NAMES, this one was a bit tricky since thespec | oga | 2009-12-11 | -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@ |