mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 21:29:48 +01:00
layer-shell: simulate mouse movement on unmap
This commit is contained in:
parent
9e2b939024
commit
75e5799310
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue