try to fix key stuck

This commit is contained in:
chrys 2018-06-03 23:16:12 +02:00
parent ea199e85c3
commit 0c02532dba

View File

@ -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'):