]> git.sur5r.net Git - i3/i3/commitdiff
bugfix: dock clients cannot be floating
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 20 Feb 2011 23:23:07 +0000 (00:23 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 20 Feb 2011 23:23:07 +0000 (00:23 +0100)
src/manage.c

index 0c0dcae758e1ac3942aea7133e1dd7d836620e52..6b77ec9deb5c0a1347b371e65010a60231133e57 100644 (file)
@@ -216,6 +216,10 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
          con_by_window_id(cwindow->leader) != NULL))
         want_floating = true;
 
+    /* dock clients cannot be floating, that makes no sense */
+    if (cwindow->dock)
+        want_floating = false;
+
     nc->geometry = (Rect){ geom->x, geom->y, geom->width, geom->height };
 
     if (want_floating) {