summaryrefslogtreecommitdiff
path: root/src/desktop/LayerSurface.cpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2025-01-01 17:28:04 +0100
committervaxerski <vaxry@vaxry.net>2025-01-01 17:28:04 +0100
commit7f177fa1cf3d8ede2841cdbbbdb7acaf27e40d57 (patch)
tree0258d340b4ebb6684fd87ebaea0e32abc79b9baf /src/desktop/LayerSurface.cpp
parentd64ac472027b9bcd6eefb4c9e86f85311769f7fa (diff)
layershell: return focus to a valid ls on close if possible
Diffstat (limited to 'src/desktop/LayerSurface.cpp')
-rw-r--r--src/desktop/LayerSurface.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}