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 06ef55ff1f
commit 3e7ae4f7de

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