bugfix: dock clients cannot be floating

This commit is contained in:
Michael Stapelberg 2011-02-21 00:23:07 +01:00
parent bafb065d7c
commit 9a0bc77baf
1 changed files with 4 additions and 0 deletions

View 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) {