Commit de9fb9f7 authored by Chris Wilson's avatar Chris Wilson Committed by Chris Wilson
Browse files

Don't automatically reshow the hilight on receiving an enter event, but

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

    * src/vte.c (vte_terminal_enter):
        Don't automatically reshow the hilight on receiving an enter
        event, but wait for the motion notify to update the cursor
        co-ordinates, otherwise we may hilight something quite distant
        from the cursor.


svn path=/trunk/; revision=1972
parent 4bab092b
2007-11-15 Chris Wilson <chris@chris-wilson.co.uk>
* src/vte.c (vte_terminal_enter):
Don't automatically reshow the hilight on receiving an enter
event, but wait for the motion notify to update the cursor
co-ordinates, otherwise we may hilight something quite distant
from the cursor.
2007-11-15 Chris Wilson <chris@chris-wilson.co.uk>
* src/vte.c (vte_terminal_leave):
......
......@@ -6639,12 +6639,6 @@ vte_terminal_enter(GtkWidget *widget, GdkEventCrossing *event)
if (GTK_WIDGET_CLASS (vte_terminal_parent_class)->enter_notify_event) {
ret = GTK_WIDGET_CLASS (vte_terminal_parent_class)->enter_notify_event (widget, event);
}
if (GTK_WIDGET_REALIZED (widget)) {
VteTerminal *terminal = VTE_TERMINAL (widget);
vte_terminal_match_hilite_show (terminal,
terminal->pvt->mouse_last_x,
terminal->pvt->mouse_last_y);
}
return ret;
}
static gboolean
......
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