[Xfce4-commits] [apps/xfce4-terminal] 01/02: Do not mark tab as active when switching to another window

noreply at xfce.org noreply at xfce.org
Fri Sep 23 12:48:11 CEST 2016


This is an automated email from the git hooks/post-receive script.

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit 9e0c83ec786a8746a82c43d269c32f8e97f2930a
Author: Igor <f2404 at yandex.ru>
Date:   Fri Sep 23 13:46:33 2016 +0300

    Do not mark tab as active when switching to another window
---
 terminal/terminal-screen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index c49bf09..1ada4ab 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -1369,6 +1369,7 @@ terminal_screen_vte_window_contents_changed (TerminalScreen *screen)
 
   /* leave if we should not start an update */
   if (screen->tab_label == NULL
+      || !gtk_window_is_active (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (screen))))
       || (gtk_widget_get_state_flags (screen->terminal) & GTK_STATE_FLAG_FOCUSED) != 0
       || time (NULL) - screen->activity_resize_time <= 1)
     return;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list