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); }