From 51ad4baa41db237ca9d5107dacc4412c8c07b736 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 2 Aug 2009 22:33:25 +0200 Subject: [PATCH] =?utf8?q?Bugfix:=20Don=E2=80=99t=20hide=20assigned=20clie?= =?utf8?q?nts=20to=20inactive=20but=20visible=20workspaces=20(Thanks=20xee?= =?utf8?q?n)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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; } } -- 2.39.5