Bugfix: Floating: open windows at their requested position

This commit is contained in:
Michael Stapelberg 2009-06-21 13:12:42 +02:00
parent 6ca9210335
commit 2751eedae5
1 changed files with 2 additions and 2 deletions

View File

@ -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);