Update inputManager.py

This commit is contained in:
chrys87 2018-05-23 13:28:32 +02:00 committed by GitHub
parent 5063362dbc
commit 47a5b1d3fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,8 +145,11 @@ class inputManager():
except:
pass
self.setExecuteDeviceGrab()
if newDevice:
self.handleDeviceGrab()
try:
if self.env['runtime']['screenManager']:
self.handleDeviceGrab()
except:
pass
def removeAllDevices(self):
try:
self.env['runtime']['inputDriver'].removeAllDevices()