From 0c02532dba71f3c7d1147a38be61bec81d56bb06 Mon Sep 17 00:00:00 2001 From: chrys Date: Sun, 3 Jun 2018 23:16:12 +0200 Subject: [PATCH] try to fix key stuck --- src/fenrirscreenreader/core/inputManager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fenrirscreenreader/core/inputManager.py b/src/fenrirscreenreader/core/inputManager.py index d51c16f9..0c212272 100644 --- a/src/fenrirscreenreader/core/inputManager.py +++ b/src/fenrirscreenreader/core/inputManager.py @@ -51,6 +51,8 @@ class inputManager(): def handleDeviceGrab(self): if not self.executeDeviceGrab: return + if self.env['input']['eventBuffer'] != []: + return if not self.noKeyPressed(): return if not self.env['runtime']['settingsManager'].getSettingAsBool('keyboard', 'grabDevices'):