mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 05:29:48 +01:00
render special over fullscreen
This commit is contained in:
parent
c1193ee483
commit
d2e0b7c22a
1 changed files with 15 additions and 0 deletions
|
@ -73,6 +73,21 @@ void CHyprRenderer::renderWorkspaceWithFullscreenWindow(SMonitor* pMonitor, CWor
|
||||||
renderWindow(&w, pMonitor, time, true);
|
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
|
// and the overlay layers
|
||||||
if (pWorkspace->m_efFullscreenMode != FULLSCREEN_FULL) {
|
if (pWorkspace->m_efFullscreenMode != FULLSCREEN_FULL) {
|
||||||
// on non-full we draw the bar and shit
|
// on non-full we draw the bar and shit
|
||||||
|
|
Loading…
Reference in a new issue