mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 19:26:00 +01:00
renderer: make sure lastWindow has correct ws in renderWorkspaceWindows
fixes #3916 fixes #3888
This commit is contained in:
parent
45ebe0df8f
commit
e55c5a916a
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ void CHyprRenderer::renderWorkspaceWindows(CMonitor* pMonitor, CWorkspace* pWork
|
|||
continue;
|
||||
|
||||
// render active window after all others of this pass
|
||||
if (w.get() == g_pCompositor->m_pLastWindow) {
|
||||
if (w.get() == g_pCompositor->m_pLastWindow && w->m_iWorkspaceID == pWorkspace->m_iID) {
|
||||
lastWindow = w.get();
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue