grab/ungrab on ignorescreen, stop speech

This commit is contained in:
chrys
2018-05-11 23:16:18 +02:00
parent 101004a5f9
commit eacb26f340
4 changed files with 44 additions and 12 deletions

View File

@@ -110,7 +110,10 @@ class inputManager():
def grabAllDevices(self):
if self.env['runtime']['settingsManager'].getSettingAsBool('keyboard', 'grabDevices'):
self.env['runtime']['inputDriver'].grabAllDevices()
def ungrabAllDevices(self):
if self.env['runtime']['settingsManager'].getSettingAsBool('keyboard', 'grabDevices'):
self.env['runtime']['inputDriver'].ungrabAllDevices()
def updateInputDevices(self):
try:
self.env['runtime']['inputDriver'].updateInputDevices()