Bugfix: Put floating clients into the focus stack (Thanks Mirko)

This commit is contained in:
Michael Stapelberg 2009-06-13 12:20:39 +02:00
parent 02fa3c2cb8
commit 56af58eb0b
1 changed files with 2 additions and 0 deletions

View File

@ -369,6 +369,8 @@ void reparent_window(xcb_connection_t *conn, xcb_window_t child,
}
if (new->floating >= FLOATING_AUTO_ON) {
SLIST_INSERT_HEAD(&(new->workspace->focus_stack), new, focus_clients);
new->floating_rect.x = new->rect.x;
new->floating_rect.y = new->rect.y;
LOG("copying size from tiling (%d, %d) size (%d, %d)\n",