From 9714f249713289decb3b3f7c11fbe5973aed41de Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 12 Mar 2010 00:41:40 +0100 Subject: [PATCH] =?UTF-8?q?bugfix:=20don=E2=80=99t=20remap=20stack=20windo?= =?UTF-8?q?ws=20errnously=20when=20changing=20workspaces?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes ticket #193 (long-standing rendering bug). --- src/workspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workspace.c b/src/workspace.c index 774b7c41..d58bbaab 100644 --- a/src/workspace.c +++ b/src/workspace.c @@ -333,7 +333,7 @@ void workspace_map_clients(xcb_connection_t *conn, Workspace *ws) { /* Map all stack windows, if any */ struct Stack_Window *stack_win; SLIST_FOREACH(stack_win, &stack_wins, stack_windows) - if (stack_win->container->workspace == ws) + if (stack_win->container->workspace == ws && stack_win->rect.height > 0) xcb_map_window(conn, stack_win->window); ignore_enter_notify_forall(conn, ws, false);