]> git.sur5r.net Git - i3/i3/blobdiff - src/x.c
Bugfix for previous commit: Don’t crash with dock windows
[i3/i3] / src / x.c
diff --git a/src/x.c b/src/x.c
index cd85bcc6be7546fbfbf0a270a42fd21c2d3c80ce..9aea9fb8bc93f696d64edf1242a9f6a2908bd113 100644 (file)
--- a/src/x.c
+++ b/src/x.c
@@ -305,13 +305,14 @@ void x_draw_decoration(Con *con) {
      *  • non-leaf containers which are in a stacked/tabbed container
      *
      * It does not need to run for:
-     *  • direct children of outputs
+     *  • direct children of outputs or dockareas
      *  • floating containers (they don’t have a decoration)
      */
     if ((!leaf &&
          parent->layout != L_STACKED &&
          parent->layout != L_TABBED) ||
         parent->type == CT_OUTPUT ||
+        parent->type == CT_DOCKAREA ||
         con->type == CT_FLOATING_CON)
         return;