]> git.sur5r.net Git - i3/i3/commitdiff
src/manage.c: properly set automatic flag when calling floating_enable()
authorMateusz Poszwa <old4@o2.pl>
Mon, 8 Aug 2011 18:49:49 +0000 (20:49 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 9 Aug 2011 07:29:47 +0000 (09:29 +0200)
src/manage.c

index 68c91e72221904a66009d2fa26a42b52a8aebf2b..18e94dd21559b8a7daf65dcaa7280ec229d5fa2e 100644 (file)
@@ -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