bugfix: don’t remap stack windows errnously when changing workspaces

This fixes ticket #193 (long-standing rendering bug).
This commit is contained in:
Michael Stapelberg 2010-03-12 00:41:40 +01:00
parent f20a446423
commit 9714f24971
1 changed files with 1 additions and 1 deletions

View File

@ -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);