get session information bevore update ignore screens

This commit is contained in:
chrys 2018-06-04 06:45:09 +02:00
parent 41087f0d24
commit a84b369b8c

View File

@ -49,11 +49,11 @@ class screenManager():
return self.getCurrScreenIgnored() != self.getPrevScreenIgnored()
def hanldeScreenChange(self, eventData):
self.getCurrScreen()
self.getSessionInformation()
self.updateScreenIgnored()
if self.isCurrScreenIgnoredChanged():
self.env['runtime']['inputManager'].setExecuteDeviceGrab()
self.env['runtime']['inputManager'].handleDeviceGrab()
self.getSessionInformation()
if self.isScreenChange():
self.changeBrailleScreen()