mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 15:26:00 +01:00
renderer: fix missing check for surfaceCount in rechecking solitary
closes #3470
This commit is contained in:
parent
778bdf730f
commit
fc1d7acd9a
1 changed files with 3 additions and 0 deletions
|
@ -2054,6 +2054,9 @@ void CHyprRenderer::recheckSolitaryForMonitor(CMonitor* pMonitor) {
|
|||
wlr_xdg_surface_for_each_popup_surface(PCANDIDATE->m_uSurface.xdg, countSubsurfacesIter, &surfaceCount);
|
||||
}
|
||||
|
||||
if (surfaceCount > 1)
|
||||
return;
|
||||
|
||||
// found one!
|
||||
pMonitor->solitaryClient = PCANDIDATE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue