summaryrefslogtreecommitdiff
path: root/src/desktop/view/LayerSurface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop/view/LayerSurface.cpp')
-rw-r--r--src/desktop/view/LayerSurface.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/desktop/view/LayerSurface.cpp b/src/desktop/view/LayerSurface.cpp
index c627c411..90de4cdc 100644
--- a/src/desktop/view/LayerSurface.cpp
+++ b/src/desktop/view/LayerSurface.cpp
@@ -336,6 +336,9 @@ void CLayerSurface::onCommit() {
if (m_layer == ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND || m_layer == ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM)
PMONITOR->m_blurFBDirty = true; // so that blur is recalc'd
+
+ if (g_pSeatManager->m_state.pointerFocus == m_wlSurface->resource())
+ g_pInputManager->simulateMouseMovement();
}
g_pHyprRenderer->arrangeLayersForMonitor(PMONITOR->m_id);