From: Michael Stapelberg Date: Sat, 13 Jun 2009 10:20:39 +0000 (+0200) Subject: Bugfix: Put floating clients into the focus stack (Thanks Mirko) X-Git-Tag: 3.b~57 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=56af58eb0bf573bf1ef3f31daaf9ec2c09346093;p=i3%2Fi3 Bugfix: Put floating clients into the focus stack (Thanks Mirko) --- diff --git a/src/manage.c b/src/manage.c index 84e0e15f..e7b7c5f6 100644 --- a/src/manage.c +++ b/src/manage.c @@ -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",