From 9a0bc77bafd4df4f68e8f8a656118ab4cd88801b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 21 Feb 2011 00:23:07 +0100 Subject: [PATCH] bugfix: dock clients cannot be floating --- src/manage.c | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- 2.39.5