From 7f177fa1cf3d8ede2841cdbbbdb7acaf27e40d57 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Wed, 1 Jan 2025 17:28:04 +0100 Subject: [PATCH] layershell: return focus to a valid ls on close if possible --- src/desktop/LayerSurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/desktop/LayerSurface.cpp b/src/desktop/LayerSurface.cpp index c8134219..05ea4473 100644 --- a/src/desktop/LayerSurface.cpp +++ b/src/desktop/LayerSurface.cpp @@ -241,7 +241,7 @@ void CLayerSurface::onUnmap() { (int)layerSurface->surface->current.size.y}; g_pHyprRenderer->damageBox(&geomFixed); - g_pInputManager->sendMotionEventsToFocused(); + g_pInputManager->simulateMouseMovement(); g_pHyprRenderer->arrangeLayersForMonitor(PMONITOR->ID); }