diff options
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/parse.y b/parse.y index c7a802a..3973f87 100644 --- a/parse.y +++ b/parse.y @@ -71,7 +71,7 @@ typedef struct { %token FONTNAME STICKY GAP MOUSEBIND %token AUTOGROUP BIND COMMAND IGNORE %token YES NO BORDERWIDTH MOVEAMOUNT -%token COLOR SNAPDIST +%token COLOR SNAPDIST ACCEPTRAISE %token ACTIVEBORDER INACTIVEBORDER URGENCYBORDER %token GROUPBORDER UNGROUPBORDER %token MENUBG MENUFG @@ -117,6 +117,12 @@ main : FONTNAME STRING { else conf->flags |= CONF_STICKY_GROUPS; } + | ACCEPTRAISE yesno { + if ($2 == 0) + conf->flags &= ~CONF_ACCEPT_RAISE; + else + conf->flags |= CONF_ACCEPT_RAISE; + } | BORDERWIDTH NUMBER { if ($2 < 0) { yyerror("invalid borderwidth: %d", $2); @@ -256,6 +262,7 @@ lookup(char *s) { /* this has to be sorted always */ static const struct keywords keywords[] = { + { "acceptraise", ACCEPTRAISE}, { "activeborder", ACTIVEBORDER}, { "autogroup", AUTOGROUP}, { "bind", BIND}, |