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

Similar for the leave notify, disable the match updating after hiding the

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

    * src/vte.c (vte_terminal_focus_out):
        Similar for the leave notify, disable the match updating after
        hiding the cursor after the loss of focus.
        However, do we really want to disable the hilighting whilst the
        pointer may still be within the terminal?


svn path=/trunk/; revision=1973
parent de9fb9f7
2007-11-15 Chris Wilson <chris@chris-wilson.co.uk>
* src/vte.c (vte_terminal_focus_out):
Similar for the leave notify, disable the match updating after
hiding the cursor after the loss of focus.
However, do we really want to disable the hilighting whilst the
pointer may still be within the terminal?
2007-11-15 Chris Wilson <chris@chris-wilson.co.uk>
* src/vte.c (vte_terminal_enter):
......
......@@ -6622,7 +6622,13 @@ vte_terminal_focus_out(GtkWidget *widget, GdkEventFocus *event)
if (GTK_WIDGET_REALIZED(widget)) {
gtk_im_context_focus_out(terminal->pvt->im_context);
_vte_invalidate_cursor_once(terminal, FALSE);
/* XXX Do we want to hide the match just because the terminal
* lost keyboard focus, but the pointer *is* still within our
* area top? */
vte_terminal_match_hilite_hide (terminal);
/* Mark the cursor as invisible to disable hilite updating */
terminal->pvt->mouse_cursor_visible = FALSE;
}
if (terminal->pvt->cursor_blink_tag != VTE_INVALID_SOURCE)
......
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