From 51ad4baa41db237ca9d5107dacc4412c8c07b736 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 2 Aug 2009 22:33:25 +0200 Subject: [PATCH] =?UTF-8?q?Bugfix:=20Don=E2=80=99t=20hide=20assigned=20cli?= =?UTF-8?q?ents=20to=20inactive=20but=20visible=20workspaces=20(Thanks=20x?= =?UTF-8?q?een)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/manage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/manage.c b/src/manage.c index d4641dbc..104b143b 100644 --- a/src/manage.c +++ b/src/manage.c @@ -342,7 +342,8 @@ void reparent_window(xcb_connection_t *conn, xcb_window_t child, new->workspace = t_ws; old_focused = new->container->currently_focused; - xcb_unmap_window(conn, new->frame); + if (t_ws->screen->current_workspace != t_ws->num) + xcb_unmap_window(conn, new->frame); break; } }