diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index 95299a0c..c2b459e0 100644 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -606,7 +606,7 @@ class Terminator(Borg): def get_focussed_terminal(self): """iterate over all the terminals to find which, if any, has focus""" for terminal in self.terminals: - if terminal.has_focus(): + if terminal.get_vte().has_focus(): return(terminal) return(None)