mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 14:18:30 +02:00
layersurface: simulate mouse movement on layer change (#13747)
This commit is contained in:
parent
8726a7363e
commit
a595d0e3c3
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue