diff options
author | vaxerski <[email protected]> | 2022-05-31 14:20:41 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-05-31 14:20:41 +0200 |
commit | d2e0b7c22a1e3e9de017c360be28a00038e1a418 (patch) | |
tree | 7981592edaacbb491ceb4b93981e6a2126dfe6d9 | |
parent | c1193ee483dcab492a91c688ffba78772830f0fa (diff) | |
download | Hyprland-d2e0b7c22a1e3e9de017c360be28a00038e1a418.tar.gz Hyprland-d2e0b7c22a1e3e9de017c360be28a00038e1a418.zip |
render special over fullscreen
-rw-r--r-- | src/render/Renderer.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 7ee9f47a..096102e0 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 |