summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 4122d391..f1d9f5f0 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -3957,7 +3957,8 @@ should_draw_caret_cursor (EvView *view,
return (view->caret_enabled &&
view->cursor_page == page &&
view->cursor_visible &&
- gtk_widget_has_focus (GTK_WIDGET (view)));
+ gtk_widget_has_focus (GTK_WIDGET (view)) &&
+ !ev_pixbuf_cache_get_selection_region (view->pixbuf_cache, page, view->scale));
}
static void