diff options
Diffstat (limited to 'triggers/triggers.py')
-rw-r--r-- | triggers/triggers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/triggers/triggers.py b/triggers/triggers.py index 4b4df0b..4d58190 100644 --- a/triggers/triggers.py +++ b/triggers/triggers.py @@ -115,7 +115,7 @@ class Triggers(GajimPlugin): if not ctrl: # Does not apply in this case return True - has_focus = ctrl.parent_win.window.has_focus + has_focus = ctrl.parent_win.window.has_focus() if has_focus and rule['has_focus'] == 'no': return False elif not has_focus and rule['has_focus'] == 'yes': |