]> git.sur5r.net Git - i3/i3/commitdiff
clear current_match when dropping state
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 17 Apr 2010 10:57:06 +0000 (12:57 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 17 Apr 2010 10:57:06 +0000 (12:57 +0200)
src/cmdparse.y

index f588ad1aa022039385881a3c9b080e9f3c2da578..acac73e2907ec56ee256fb7569ea00283a319fa4 100644 (file)
@@ -132,6 +132,7 @@ commands: /* empty */
             TAILQ_REMOVE(&owindows, current, owindows);
             free(current);
         }
+        memset(&current_match, 0, sizeof(Match));
     }
     ;