From 1157229888f98f04363055ae481f61bbe41e64dc Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 3 Mar 2009 04:25:32 +0100 Subject: [PATCH] =?utf8?q?Bugfix:=20Don=E2=80=99t=20raise=20the=20active?= =?utf8?q?=20window=20when=20there=20is=20a=20fullscreen=20client?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/layout.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- 2.39.5