diff --git a/src/fenrir-package/fenrir.py b/src/fenrir-package/fenrir.py index 17a5581d..0aef600c 100755 --- a/src/fenrir-package/fenrir.py +++ b/src/fenrir-package/fenrir.py @@ -52,6 +52,8 @@ class fenrir(): if self.environment['screenData']['newApplication'] != self.environment['screenData']['oldApplication']: self.environment['runtime']['commandManager'].executeDefaultTrigger('onApplicationChange') + self.environment['runtime']['commandManager'].executeSwitchTrigger(self, 'onSwitchApplicationProfile', \ + self.environment['screenData']['oldApplication'], self.environment['screenData']['newApplication']) self.environment['runtime']['commandManager'].executeDefaultTrigger('onInput') if self.environment['screenData']['newTTY'] == self.environment['screenData']['oldTTY']: self.environment['runtime']['commandManager'].executeDefaultTrigger('onScreenUpdate')