]> git.sur5r.net Git - i3/i3/commitdiff
Force redrawing the indicators after a move.
authorFernando Tarlá Cardoso Lemos <fernandotcl@gmail.com>
Sun, 22 Jan 2012 15:15:35 +0000 (13:15 -0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 22 Jan 2012 17:25:08 +0000 (17:25 +0000)
Fixes a bug where splitting then moving in the other orientation
(e.g. v-splitting and moving right) would result in the old
indicators not disappearing.

src/move.c

index 00bcf2d9c4d3bd8e44be67845cbc08a2b954536f..d1ac8a68f193031b8677c5f219e0d4932c49b733 100644 (file)
@@ -195,5 +195,8 @@ end:
      * container(s) would still point to the old container(s)). */
     con_focus(con);
 
+    /* force re-painting the indicators */
+    FREE(con->deco_render_params);
+
     tree_flatten(croot);
 }