mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-28 10:13:44 +03:00
renderer: make sure lastWindow has correct ws in renderWorkspaceWindows
fixes #3916 fixes #3888
This commit is contained in:
parent
45ebe0df8f
commit
e55c5a916a
@ -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 New Issue
Block a user