Package: libvte9
Version: 1:0.28.2-5

Hi,

when a busy libvte based terminal windows is obscured, it will not
resume updating when it becomes visible again, until clicked with
mouse. For me, this is nearly 100% reproducible in MATE eg. when
running ls -lR on a sufficiently fast file system, and then either by
switching the desktop back and forth, or just by covering of the
terminal with another window.

Fix attached.

-- 
Jindřich Makovička
From 045331329d5f1aa8570f3d9a8200dc62f5bfe24c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jind=C5=99ich=20Makovi=C4=8Dka?= <[email protected]>
Date: Tue, 3 Feb 2015 19:40:32 +0100
Subject: [PATCH] fix freezing of a busy terminal when switching desktops

---
 src/vte.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/vte.c b/src/vte.c
index a2f9a2c..78e8823 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -7435,6 +7435,9 @@ vte_terminal_set_visibility (VteTerminal *terminal, GdkVisibilityState state)
 		 * for the expose event */
 		if (state == GDK_VISIBILITY_UNOBSCURED) {
 			_vte_invalidate_all (terminal);
+			/* reschedule timeout in case
+			 * there are pending updates */
+			add_update_timeout (terminal);
 		}
 	}
 
-- 
2.1.4

Reply via email to