]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Don’t raise the active window when there is a fullscreen client
authorMichael Stapelberg <michael+x200@stapelberg.de>
Tue, 3 Mar 2009 03:25:32 +0000 (04:25 +0100)
committerMichael Stapelberg <michael+x200@stapelberg.de>
Tue, 3 Mar 2009 03:25:32 +0000 (04:25 +0100)
src/layout.c

index ad18f936e6c4b7542005b8987c4c37cfc89d3d8f..7e3b6a74edd730f55a0f7057a540c54dd4fe5b6d 100644 (file)
@@ -309,8 +309,10 @@ void render_container(xcb_connection_t *connection, Container *container) {
 
                 client->force_reconfigure = false;
 
-                uint32_t values[] = { XCB_STACK_MODE_ABOVE };
-                xcb_configure_window(connection, client->frame, XCB_CONFIG_WINDOW_STACK_MODE, values);
+                if (container->workspace->fullscreen_client == NULL) {
+                        uint32_t values[] = { XCB_STACK_MODE_ABOVE };
+                        xcb_configure_window(connection, client->frame, XCB_CONFIG_WINDOW_STACK_MODE, values);
+                }
 
                 /* Render the decorations of all clients */
                 CIRCLEQ_FOREACH(client, &(container->clients), clients)