mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-04 09:45:59 +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)
|
||||
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;
|
||||
|
||||
// if not, check if it maybe is active on a different monitor.
|
||||
|
|
Loading…
Reference in a new issue