Bugfix: Fix assignments to not yet visible workspaces

This was broken by commit 5a1668db3
This commit is contained in:
Michael Stapelberg 2009-12-12 18:43:30 +01:00
parent 17082ef5b7
commit ffe925f733
1 changed files with 2 additions and 1 deletions

View File

@ -446,7 +446,8 @@ map:
if ((new->workspace->fullscreen_client == NULL) || new->fullscreen) {
if (!client_is_floating(new)) {
new->container->currently_focused = new;
render_container(conn, new->container);
if (map_frame)
render_container(conn, new->container);
}
if (new->container == CUR_CELL || client_is_floating(new))
xcb_set_input_focus(conn, XCB_INPUT_FOCUS_POINTER_ROOT, new->child, XCB_CURRENT_TIME);