summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pluma/pluma-notebook.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/pluma/pluma-notebook.c b/pluma/pluma-notebook.c
index 26e07d9c..d9bb4b52 100644
--- a/pluma/pluma-notebook.c
+++ b/pluma/pluma-notebook.c
@@ -397,7 +397,11 @@ drag_start (PlumaNotebook *notebook,
/* get a new cursor, if necessary */
/* FIXME multi-head */
if (cursor == NULL)
- cursor = gdk_cursor_new (GDK_FLEUR);
+ {
+ GdkDisplay *display;
+ display = gtk_widget_get_display (GTK_WIDGET (notebook));
+ cursor = gdk_cursor_new_for_display (display, GDK_FLEUR);
+ }
/* grab the pointer */
gtk_grab_add (GTK_WIDGET (notebook));