From c4f5ac6acf7340e83afbdc8da491a070914bab61 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Fri, 23 Sep 2016 09:51:47 +0200 Subject: [PATCH] Update screenManager.py --- src/fenrir-package/core/screenManager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fenrir-package/core/screenManager.py b/src/fenrir-package/core/screenManager.py index 19cc1404..f0c18832 100644 --- a/src/fenrir-package/core/screenManager.py +++ b/src/fenrir-package/core/screenManager.py @@ -31,3 +31,5 @@ class screenManager(): return ((currScreen in \ self.env['runtime']['settingsManager'].getSetting('screen', 'suspendingScreen').split(',')) or (currScreen in self.autoIgnoreScreens)) + def isScreenChange(self): + return self.environment['screenData']['newTTY'] != self.environment['screenData']['oldTTY']