From 3d2cd6abaa5138320290f45b985cf6fb00df36e8 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 13 May 2011 21:18:20 +0200 Subject: [PATCH] Fix kill command with trailing whitespace --- src/cmdparse.y | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmdparse.y b/src/cmdparse.y index 73658eb2..47c4fa37 100644 --- a/src/cmdparse.y +++ b/src/cmdparse.y @@ -421,6 +421,7 @@ kill: optional_kill_mode: /* empty */ { $$ = KILL_WINDOW; } + | WHITESPACE { $$ = KILL_WINDOW; } | WHITESPACE TOK_WINDOW { $$ = KILL_WINDOW; } | WHITESPACE TOK_CLIENT { $$ = KILL_CLIENT; } ; -- 2.39.5