Commits

Anonymous committed f2d383c

Update diff on non-active terminal's contents change

Comments (0)

Files changed (1)

 
     def do_term_contents_changed(self, terminal):
         if not MainWindow.highlight_diff or \
-           not terminal.is_focus() or \
-           not self.is_active() or \
            terminal not in synced_terminal:
             return
 
+        # TODO: Use active window/terminal as diff base
+
         if self._diff_timer_id is not None:
             gobject.source_remove(self._diff_timer_id)
             self._diff_timer_id = None