diff --git a/ChangeLog b/ChangeLog index c077d3e6..fb7261f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25,6 +25,10 @@ terminator trunk: of the broken local one (Steve Boddy) * Workaround for intltool not handling Python files without an extension (Steve Boddy) + * Fix intermittant rebalance failures (Steve Boddy, LP#1504560) + * Fix focus dimming so when set to 1.0, it doesn't trash temporary + palette changes by applications. Not needed in gtk3 (Steve Boddy, + LP#1512905) terminator 0.98: * Features diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 20704855..40875648 100755 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -1172,8 +1172,9 @@ class Terminal(gtk.VBox): def on_vte_focus_in(self, _widget, _event): """Inform other parts of the application when focus is received""" - self.vte.set_colors(self.fgcolor_active, self.bgcolor, - self.palette_active) + if self.config['inactive_color_offset'] < 1.0: + self.vte.set_colors(self.fgcolor_active, self.bgcolor, + self.palette_active) self.set_cursor_color() if not self.terminator.doing_layout: self.terminator.last_focused_term = self @@ -1188,8 +1189,9 @@ class Terminal(gtk.VBox): def on_vte_focus_out(self, _widget, _event): """Inform other parts of the application when focus is lost""" - self.vte.set_colors(self.fgcolor_inactive, self.bgcolor, - self.palette_inactive) + if self.config['inactive_color_offset'] < 1.0: + self.vte.set_colors(self.fgcolor_inactive, self.bgcolor, + self.palette_inactive) self.set_cursor_color() self.emit('focus-out')