From: Michael Stapelberg Date: Sat, 17 Apr 2010 10:57:06 +0000 (+0200) Subject: clear current_match when dropping state X-Git-Tag: tree-pr1~246 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=22f38ebde4d197db893ec2020f5e6ba63cc35937;p=i3%2Fi3 clear current_match when dropping state --- diff --git a/src/cmdparse.y b/src/cmdparse.y index f588ad1a..acac73e2 100644 --- a/src/cmdparse.y +++ b/src/cmdparse.y @@ -132,6 +132,7 @@ commands: /* empty */ TAILQ_REMOVE(&owindows, current, owindows); free(current); } + memset(¤t_match, 0, sizeof(Match)); } ;