]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Don’t hide assigned clients to inactive but visible workspaces (Thanks xeen)
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 2 Aug 2009 20:33:25 +0000 (22:33 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 2 Aug 2009 20:33:25 +0000 (22:33 +0200)
src/manage.c

index d4641dbc6098ddbde218024a32b77717816a056c..104b143b0341ad2418a285779bf11f29713843d5 100644 (file)
@@ -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;
                 }
         }