diff options
-rw-r--r-- | libview/ev-view.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c index b9e79026..06bc8c8f 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -3245,7 +3245,9 @@ cursor_should_blink (EvView *view) { if (view->caret_enabled && view->rotation == 0 && - gtk_widget_has_focus (GTK_WIDGET (view))) { + gtk_widget_has_focus (GTK_WIDGET (view)) && + view->pixbuf_cache && + !ev_pixbuf_cache_get_selection_region (view->pixbuf_cache, view->cursor_page, view->scale)) { GtkSettings *settings; gboolean blink; @@ -7767,6 +7769,8 @@ merge_selection_region (EvView *view, } } + ev_view_check_cursor_blink (view); + /* Free the old list, now that we're done with it. */ g_list_free_full (old_list, (GDestroyNotify)selection_free); } |