From 56af58eb0bf573bf1ef3f31daaf9ec2c09346093 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 13 Jun 2009 12:20:39 +0200 Subject: [PATCH] Bugfix: Put floating clients into the focus stack (Thanks Mirko) --- src/manage.c | 2 ++ 1 file changed, 2 insertions(+) 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", -- 2.39.5