Bugfix: Render decoration of single window in tabbed/stacked container (Thanks Fernando)

This commit is contained in:
Michael Stapelberg 2010-07-11 22:23:05 +02:00
parent f70530d575
commit 935f950ce2
1 changed files with 5 additions and 4 deletions

View File

@ -536,10 +536,11 @@ void render_container(xcb_connection_t *conn, Container *container) {
} }
offset_x = current_client++ * size_each; offset_x = current_client++ * size_each;
} }
if (stack_win->pixmap.id == XCB_NONE) if (stack_win->pixmap.id != XCB_NONE)
continue;
decorate_window(conn, client, stack_win->pixmap.id, decorate_window(conn, client, stack_win->pixmap.id,
stack_win->pixmap.gc, offset_x, offset_y); stack_win->pixmap.gc, offset_x, offset_y);
else
decorate_window(conn, client, client->frame, client->titlegc, 0, 0);
} }
/* Check if we need to fill one column because of an uneven /* Check if we need to fill one column because of an uneven