aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/egg-toolbar-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/egg/egg-toolbar-editor.c')
-rw-r--r--lib/egg/egg-toolbar-editor.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/egg/egg-toolbar-editor.c b/lib/egg/egg-toolbar-editor.c
index 07674d470..8671cd4c3 100644
--- a/lib/egg/egg-toolbar-editor.c
+++ b/lib/egg/egg-toolbar-editor.c
@@ -312,10 +312,12 @@ static void
set_drag_cursor (GtkWidget *widget)
{
GdkCursor *cursor;
+ GdkScreen *screen;
- /* FIXME multihead */
- cursor = gdk_cursor_new (GDK_HAND2);
-
+ screen = gtk_widget_get_screen (widget);
+
+ cursor = gdk_cursor_new_for_display (gdk_screen_get_display (screen),
+ GDK_HAND2);
gdk_window_set_cursor (widget->window, cursor);
gdk_cursor_unref (cursor);
}