layershell: return focus to a valid ls on close if possible

This commit is contained in:
Vaxry 2025-01-01 17:28:04 +01:00
parent d64ac47202
commit 7f177fa1cf

View file

@ -241,7 +241,7 @@ void CLayerSurface::onUnmap() {
(int)layerSurface->surface->current.size.y}; (int)layerSurface->surface->current.size.y};
g_pHyprRenderer->damageBox(&geomFixed); g_pHyprRenderer->damageBox(&geomFixed);
g_pInputManager->sendMotionEventsToFocused(); g_pInputManager->simulateMouseMovement();
g_pHyprRenderer->arrangeLayersForMonitor(PMONITOR->ID); g_pHyprRenderer->arrangeLayersForMonitor(PMONITOR->ID);
} }