From: Michael Stapelberg Date: Tue, 3 Mar 2009 03:25:32 +0000 (+0100) Subject: Bugfix: Don’t raise the active window when there is a fullscreen client X-Git-Tag: 3.a~120 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1157229888f98f04363055ae481f61bbe41e64dc;p=i3%2Fi3 Bugfix: Don’t raise the active window when there is a fullscreen client --- diff --git a/src/layout.c b/src/layout.c index ad18f936..7e3b6a74 100644 --- a/src/layout.c +++ b/src/layout.c @@ -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)