mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 00:05:59 +01:00
parent
3374229118
commit
2549f0cc97
1 changed files with 2 additions and 2 deletions
|
@ -73,8 +73,6 @@ void CLayerSurface::onDestroy() {
|
||||||
|
|
||||||
const auto PMONITOR = g_pCompositor->getMonitorFromID(monitorID);
|
const auto PMONITOR = g_pCompositor->getMonitorFromID(monitorID);
|
||||||
|
|
||||||
popupHead.reset();
|
|
||||||
|
|
||||||
if (!g_pCompositor->getMonitorFromID(monitorID))
|
if (!g_pCompositor->getMonitorFromID(monitorID))
|
||||||
Debug::log(WARN, "Layersurface destroyed on an invalid monitor (removed?)");
|
Debug::log(WARN, "Layersurface destroyed on an invalid monitor (removed?)");
|
||||||
|
|
||||||
|
@ -90,6 +88,8 @@ void CLayerSurface::onDestroy() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
popupHead.reset();
|
||||||
|
|
||||||
noProcess = true;
|
noProcess = true;
|
||||||
|
|
||||||
// rearrange to fix the reserved areas
|
// rearrange to fix the reserved areas
|
||||||
|
|
Loading…
Reference in a new issue