layersurface: simulate mouse movement on layer change (#13747)

This commit is contained in:
Blue 2026-03-22 00:39:42 +01:00 committed by GitHub
parent 8726a7363e
commit a595d0e3c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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