From: Mateusz Poszwa Date: Mon, 8 Aug 2011 18:49:49 +0000 (+0200) Subject: src/manage.c: properly set automatic flag when calling floating_enable() X-Git-Tag: 4.1~229^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cd5ebc2dcac207665dd2f4ca6b388d3be63cb5ad;p=i3%2Fi3 src/manage.c: properly set automatic flag when calling floating_enable() --- diff --git a/src/manage.c b/src/manage.c index 68c91e72..18e94dd2 100644 --- a/src/manage.c +++ b/src/manage.c @@ -321,7 +321,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki if (want_floating) { DLOG("geometry = %d x %d\n", nc->geometry.width, nc->geometry.height); - floating_enable(nc, false); + floating_enable(nc, true); } /* to avoid getting an UnmapNotify event due to reparenting, we temporarily