From fcc0e07d7522279dd81c3c306d25e31cc9a16d55 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Fri, 21 Jun 2013 12:06:34 +0200 Subject: libview: Make sure the cursor blinks after moving it by a click The cursor blink is reset when the cursor is moved with the keyboard, but not when positioned with the mouse. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=1435ace --- libview/ev-view.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libview/ev-view.c b/libview/ev-view.c index 0bbbd670..f0b5d69e 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -4357,6 +4357,10 @@ ev_view_button_press_event (GtkWidget *widget, (view->cursor_offset != offset || view->cursor_page != page)) { view->cursor_offset = offset; view->cursor_page = page; + + view->cursor_blink_time = 0; + ev_view_pend_cursor_blink (view); + gtk_widget_queue_draw (widget); } } -- cgit v1.2.1