]> git.sur5r.net Git - i3/i3/commitdiff
Fix kill command with trailing whitespace
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 13 May 2011 19:18:20 +0000 (21:18 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 13 May 2011 19:18:20 +0000 (21:18 +0200)
src/cmdparse.y

index 73658eb251413a69f8ed0fb4cc125f891d401882..47c4fa37e1e2721351854761ecee75fc9a7918f3 100644 (file)
@@ -421,6 +421,7 @@ kill:
 
 optional_kill_mode:
     /* empty */             { $$ = KILL_WINDOW; }
+    | WHITESPACE            { $$ = KILL_WINDOW; }
     | WHITESPACE TOK_WINDOW { $$ = KILL_WINDOW; }
     | WHITESPACE TOK_CLIENT { $$ = KILL_CLIENT; }
     ;