mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-26 11:29:48 +01:00
remotedesktop: release modifiers on monitor switch
This commit is contained in:
parent
d703e84bbc
commit
df607b82eb
1 changed files with 3 additions and 0 deletions
|
@ -126,6 +126,9 @@ int EmulatedInputServer::onEvent(eis_event* e) {
|
|||
case EIS_EVENT_DEVICE_STOP_EMULATING:
|
||||
device = eis_event_get_device(e);
|
||||
Debug::log(LOG, "[EIS] Device {} will no longer send events", eis_device_get_name(device));
|
||||
|
||||
depressed = 0;
|
||||
virtualKeyboard->sendModifiers(depressed, latched, locked, 3);
|
||||
break;
|
||||
case EIS_EVENT_POINTER_MOTION:
|
||||
if (virtualPointer != nullptr) {
|
||||
|
|
Loading…
Reference in a new issue