evince/evince-text-drag.patch
2019-10-16 13:18:54 +02:00

14 lines
514 B
Diff

diff --git a/libview/ev-view.c b/libview/ev-view.c
index 2bb5e3c2..acef1917 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -9789,7 +9789,7 @@ ev_view_set_cursor (EvView *view, EvViewCursor new_cursor)
widget = gtk_widget_get_toplevel (GTK_WIDGET (view));
cursor = ev_view_cursor_new (gtk_widget_get_display (widget), new_cursor);
gdk_window_set_cursor (window, cursor);
- gdk_flush ();
+ gdk_display_flush (gtk_widget_get_display (GTK_WIDGET (view)));
if (cursor)
g_object_unref (cursor);
}