From 71f99ab78fb8f5f8c4ae93f7ed0529320c6fe391 Mon Sep 17 00:00:00 2001 From: oga Date: Mon, 19 May 2008 17:13:55 +0000 Subject: allow an autogroup value of 0 to mean no group. This means you can set automatically "sticky" (in the traditional sense of the word) windows in autogroup mode. Based on an initial diff from Andrew Fresh, thanks! ok okan@. --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parse.y') diff --git a/parse.y b/parse.y index cf75142..bcdd4b1 100644 --- a/parse.y +++ b/parse.y @@ -125,7 +125,7 @@ main : FONTNAME STRING { struct autogroupwin *aw; char *p; - if ($2 < 1 || $2 > 9) { + if ($2 < 0 || $2 > 9) { free($3); yyerror("autogroup number out of range: %d", $2); YYERROR; -- cgit 1.4.1