From: Michael Stapelberg Date: Sun, 21 Jun 2009 11:12:42 +0000 (+0200) Subject: Bugfix: Floating: open windows at their requested position X-Git-Tag: 3.b~36 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2751eedae5f378415338f9a7ee989ce12bd7dcb8;p=i3%2Fi3 Bugfix: Floating: open windows at their requested position --- diff --git a/src/manage.c b/src/manage.c index 948e9aba..bfdd9b4f 100644 --- a/src/manage.c +++ b/src/manage.c @@ -384,8 +384,8 @@ void reparent_window(xcb_connection_t *conn, xcb_window_t child, new->container = NULL; - new->floating_rect.x = new->rect.x; - new->floating_rect.y = new->rect.y; + new->floating_rect.x = new->rect.x = x; + new->floating_rect.y = new->rect.y = y; LOG("copying size from tiling (%d, %d) size (%d, %d)\n", new->floating_rect.x, new->floating_rect.y, new->floating_rect.width, new->floating_rect.height);