From: Michael Stapelberg Date: Sun, 20 Feb 2011 23:23:07 +0000 (+0100) Subject: bugfix: dock clients cannot be floating X-Git-Tag: tree-pr2~45 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9a0bc77bafd4df4f68e8f8a656118ab4cd88801b;p=i3%2Fi3 bugfix: dock clients cannot be floating --- diff --git a/src/manage.c b/src/manage.c index 0c0dcae7..6b77ec9d 100644 --- a/src/manage.c +++ b/src/manage.c @@ -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) {