diff options
author | Vaxry <[email protected]> | 2023-11-26 14:54:34 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2023-11-26 14:54:34 +0000 |
commit | 75e579931088671fb333efd2a3923ff96b868fe9 (patch) | |
tree | 2aa1f1b90417d3f7014b1e431a3c9460261b1617 | |
parent | 9e2b939024448d64df6af1f5d2ea5ceee078a539 (diff) | |
download | Hyprland-75e579931088671fb333efd2a3923ff96b868fe9.tar.gz Hyprland-75e579931088671fb333efd2a3923ff96b868fe9.zip |
layer-shell: simulate mouse movement on unmap
-rw-r--r-- | src/events/Layers.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/events/Layers.cpp b/src/events/Layers.cpp index 5f295408..a9d8b5d0 100644 --- a/src/events/Layers.cpp +++ b/src/events/Layers.cpp @@ -254,6 +254,8 @@ void Events::listener_unmapLayerSurface(void* owner, void* data) { geomFixed = {layersurface->geometry.x + (int)PMONITOR->vecPosition.x, layersurface->geometry.y + (int)PMONITOR->vecPosition.y, (int)layersurface->layerSurface->surface->current.width, (int)layersurface->layerSurface->surface->current.height}; g_pHyprRenderer->damageBox(&geomFixed); + + g_pInputManager->simulateMouseMovement(); } void Events::listener_commitLayerSurface(void* owner, void* data) { |