  #ifdef VTE_DEBUG
  	/* Turn on debugging if we were asked to. */
  	if (getenv("VTE_DEBUG_FLAGS") != NULL) {
-@@ -11363,3 +11642,35 @@
+@@ -11363,3 +11644,35 @@
  
  	return FALSE;
   }

 			normal = _vte_termcap_find_string_length(termcap,
 								 tterm,
 								 special,
@@ -5778,6 +5967,18 @@
 
 	g_assert(VTE_IS_TERMINAL(widget));
 	terminal = VTE_TERMINAL(widget);

 	GTK_WIDGET_UNSET_FLAGS(widget, GTK_HAS_FOCUS);
 	/* Read the keyboard modifiers, though they're probably garbage. */
 	if (gdk_event_get_state((GdkEvent*)event, &modifiers)) {
@@ -6845,6 +7084,10 @@
 	/* Assume we're visible unless we're told otherwise. */
 	pvt->visibility_state = GDK_VISIBILITY_UNOBSCURED;
 
