From d2e0b7c22a1e3e9de017c360be28a00038e1a418 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 31 May 2022 14:20:41 +0200 Subject: [PATCH] render special over fullscreen --- src/render/Renderer.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 7ee9f47a9..096102e0a 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -73,6 +73,21 @@ void CHyprRenderer::renderWorkspaceWithFullscreenWindow(SMonitor* pMonitor, CWor renderWindow(&w, pMonitor, time, true); } + // and then special windows + for (auto& w : g_pCompositor->m_lWindows) { + if (!g_pCompositor->windowValidMapped(&w) && !w.m_bFadingOut) + continue; + + if (w.m_iWorkspaceID != SPECIAL_WORKSPACE_ID) + continue; + + if (!shouldRenderWindow(&w, pMonitor)) + continue; + + // render the bad boy + renderWindow(&w, pMonitor, time, true); + } + // and the overlay layers if (pWorkspace->m_efFullscreenMode != FULLSCREEN_FULL) { // on non-full we draw the bar and shit