From: Michael Stapelberg Date: Sun, 10 Jul 2011 18:05:49 +0000 (+0200) Subject: x: raise the stack decoration above the stack windows (reduces flickering) X-Git-Tag: tree-pr4~51 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=517833569d340e5fd923135717eb5844fac5c50f;p=i3%2Fi3 x: raise the stack decoration above the stack windows (reduces flickering) This reduces flickering when opening new windows in a stack, see the comment. --- diff --git a/src/render.c b/src/render.c index b1388b31..17c1fde7 100644 --- a/src/render.c +++ b/src/render.c @@ -344,6 +344,12 @@ void render_con(Con *con, bool render_fullscreen) { * aswell. */ render_con(child, false); } + + /* Raise the stack con itself. This will put the stack decoration on + * top of every stack window. That way, when a new window is opened in + * the stack, the old window will not obscure part of the decoration + * (it’s unmapped afterwards). */ + x_raise_con(con); } }