Commit 4bab092b authored by Chris Wilson's avatar Chris Wilson Committed by Chris Wilson
Browse files

Mark the cursor as invisible on leaving the terminal as this stops the

2007-11-15  Chris Wilson  <chris@chris-wilson.co.uk>

    * src/vte.c (vte_terminal_leave):
        Mark the cursor as invisible on leaving the terminal as this
        stops the hilight matcher running whilst the cursor is absent.


svn path=/trunk/; revision=1971
parent c5c286ac
2007-11-15 Chris Wilson <chris@chris-wilson.co.uk>
* src/vte.c (vte_terminal_leave):
Mark the cursor as invisible on leaving the terminal as this
stops the hilight matcher running whilst the cursor is absent.
2007-11-06 Behdad Esfahbod <behdad@gnome.org>
* src/vte.c (vte_terminal_set_font_from_string_full): Allow NULL
......
......@@ -6658,6 +6658,11 @@ vte_terminal_leave(GtkWidget *widget, GdkEventCrossing *event)
if (GTK_WIDGET_REALIZED (widget)) {
VteTerminal *terminal = VTE_TERMINAL (widget);
vte_terminal_match_hilite_hide (terminal);
/* Mark the cursor as invisible to disable hilite updating,
* whilst the cursor is absent (otherwise we copy the entire
* buffer after each update for nothing...)
*/
terminal->pvt->mouse_cursor_visible = FALSE;
}
return ret;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment