mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-05 03:26:00 +01:00
renderer: fix incorrect early return (#8590)
Co-authored-by: Agent_00Ming <agent00ming9366@gmail.com>
This commit is contained in:
parent
1fb720b62a
commit
e9a7fb8f91
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ bool CHyprRenderer::shouldRenderWindow(PHLWINDOW pWindow, PHLMONITOR pMonitor) {
|
||||||
if (pWindow->m_pMonitor == pMonitor)
|
if (pWindow->m_pMonitor == pMonitor)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (!(!pWindow->m_pWorkspace || !pWindow->m_pWorkspace->isVisible()) && pWindow->m_pMonitor != pMonitor)
|
if ((!pWindow->m_pWorkspace || !pWindow->m_pWorkspace->isVisible()) && pWindow->m_pMonitor != pMonitor)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// if not, check if it maybe is active on a different monitor.
|
// if not, check if it maybe is active on a different monitor.
|
||||||
|
|
Loading…
Reference in a new issue