]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Fix assignments to not yet visible workspaces
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 12 Dec 2009 17:43:30 +0000 (18:43 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 12 Dec 2009 17:43:30 +0000 (18:43 +0100)
This was broken by commit 5a1668db3

src/manage.c

index e754d9b5562db275149219e4e28d5d8207601b4e..030a3883f6fb139e6cc4b11b26e9b4713d79e506 100644 (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);