typo
This commit is contained in:
parent
56e19eacb9
commit
15d3fffeac
@ -15,7 +15,6 @@ class screenManager():
|
||||
self.env = environment
|
||||
self.env['runtime']['settingsManager'].loadDriver(\
|
||||
self.env['runtime']['settingsManager'].getSetting('screen', 'driver'), 'screenDriver')
|
||||
if self.env['runtime']['settingsManager'].getSettingAsBool('screen', 'autodetectSuspendingScreen'):
|
||||
self.updateAutoIgnoreScreens()
|
||||
|
||||
def shutdown(self):
|
||||
@ -41,6 +40,7 @@ class screenManager():
|
||||
self.env['runtime']['settingsManager'].getSetting('screen', 'suspendingScreen').split(',')) or
|
||||
(screen in self.autoIgnoreScreens))
|
||||
def updateAutoIgnoreScreens(self):
|
||||
if self.env['runtime']['settingsManager'].getSettingAsBool('screen', 'autodetectSuspendingScreen'):
|
||||
self.autoIgnoreScreens = self.env['runtime']['screenDriver'].getIgnoreScreens()
|
||||
def isScreenChange(self):
|
||||
if not self.env['screenData']['oldTTY']:
|
||||
|
Loading…
Reference in New Issue
Block a user