summaryrefslogtreecommitdiff
path: root/kvmd/apps
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-12-03 19:08:18 +0200
committerMaxim Devaev <[email protected]>2024-12-03 19:08:18 +0200
commit870af902a139d590f8715667be1f45e35dc91fc8 (patch)
treebb06a383e1b67fcd8f16791a75d2680bcf9ed359 /kvmd/apps
parent85a2f2367d3c7e29f6e1857e110d47dfd5297814 (diff)
fix
Diffstat (limited to 'kvmd/apps')
-rw-r--r--kvmd/apps/kvmd/snapshoter.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/kvmd/apps/kvmd/snapshoter.py b/kvmd/apps/kvmd/snapshoter.py
index 197e16c4..e9391306 100644
--- a/kvmd/apps/kvmd/snapshoter.py
+++ b/kvmd/apps/kvmd/snapshoter.py
@@ -123,10 +123,10 @@ class Snapshoter: # pylint: disable=too-many-instance-attributes
if self.__wakeup_key:
logger.info("Waking up using key %r ...", self.__wakeup_key)
- self.__hid.send_key_events([
- (self.__wakeup_key, True),
- (self.__wakeup_key, False),
- ])
+ await self.__hid.send_key_events(
+ keys=[(self.__wakeup_key, True), (self.__wakeup_key, False)],
+ no_ignore_keys=True,
+ )
if self.__wakeup_move:
logger.info("Waking up using mouse move for %d units ...", self.__wakeup_move)