focus: prefer sendMotionEventsToFocused for ensuring cursor image

This commit is contained in:
Vaxry 2023-12-12 14:58:43 +00:00
parent 1950c3fc9c
commit ba2af6f86d
3 changed files with 5 additions and 7 deletions

View file

@ -255,7 +255,7 @@ void Events::listener_unmapLayerSurface(void* owner, void* data) {
(int)layersurface->layerSurface->surface->current.width, (int)layersurface->layerSurface->surface->current.height};
g_pHyprRenderer->damageBox(&geomFixed);
g_pInputManager->simulateMouseMovement();
g_pInputManager->sendMotionEventsToFocused();
}
void Events::listener_commitLayerSurface(void* owner, void* data) {