]> git.sur5r.net Git - i3/i3/blobdiff - src/manage.c
t/*ewmh*: fix flakiness by syncing
[i3/i3] / src / manage.c
index 5148d3f34fc05543c7a49ad3af093f3fa82b3ad1..b7ea5e69e1aa3ce08e8ba864ef97fb368148d51a 100644 (file)
@@ -454,11 +454,8 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
         floating_enable(nc, automatic_border);
     }
 
-    if (nc->border_style == BS_PIXEL) {
-        /* if the border style is BS_PIXEL, explicitly set the border width of
-         * the new container */
-        nc->current_border_width = (want_floating ? config.default_floating_border_width : config.default_border_width);
-    }
+    /* explicitly set the border width to the default */
+    nc->current_border_width = (want_floating ? config.default_floating_border_width : config.default_border_width);
 
     /* to avoid getting an UnmapNotify event due to reparenting, we temporarily
      * declare no interest in any state change event of this window */