From bc5bc3d1ef101fbcaf41f2a92fab926471190926 Mon Sep 17 00:00:00 2001 From: chrys Date: Sun, 2 Oct 2016 23:27:29 +0200 Subject: [PATCH] fix application detection, remove debugging print --- src/fenrir-package/core/screenManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir-package/core/screenManager.py b/src/fenrir-package/core/screenManager.py index 96559e1a..b86ee326 100644 --- a/src/fenrir-package/core/screenManager.py +++ b/src/fenrir-package/core/screenManager.py @@ -24,7 +24,7 @@ class screenManager(): def update(self, trigger = 'onUpdate'): self.env['runtime']['screenDriver'].getCurrScreen() if not self.isSuspendingScreen(): - if trigger == 'onUpdate': + if trigger == 'onUpdate' or self.isScreenChange(): self.env['runtime']['screenDriver'].getCurrApplication() self.env['runtime']['screenDriver'].update(trigger) self.env['screenData']['lastScreenUpdate'] = time.time()