From: Michael Stapelberg Date: Sun, 2 Aug 2009 20:33:25 +0000 (+0200) Subject: Bugfix: Don’t hide assigned clients to inactive but visible workspaces (Thanks xeen) X-Git-Tag: 3.d-bf1~53 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=51ad4baa41db237ca9d5107dacc4412c8c07b736;p=i3%2Fi3 Bugfix: Don’t hide assigned clients to inactive but visible workspaces (Thanks xeen) --- 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; } }