summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-06-18 23:23:30 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-06-18 23:23:30 +0000
commit1abf7df6be75d0f9a1c7277f46248eb87d46bf69 (patch)
treeaa5703e4cbcfa0a2e464d45853df7f090b425d8e /gtk/gtkdnd.c
parentc597a7be39c3fb1f4d3caa6d1d21fedf413d6f51 (diff)
downloadgdk-pixbuf-1abf7df6be75d0f9a1c7277f46248eb87d46bf69.tar.gz
Make the core pointer object per-display. (#85698)
Tue Jun 18 19:11:51 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkdisplay.[ch] gdk/gdkevents.c gdk/gdkinput.h gdk/gdkinternals.h gdk/win32/gdkevents-win32.c gdk/win32/gdkinput-win32.[ch] gdk/x11/gdkevents-x11.c gdk/x11/gdkinput{,-none,-x11}.c gdk/x11/gdkinputprivate.h: Make the core pointer object per-display. (#85698)
Diffstat (limited to 'gtk/gtkdnd.c')
-rw-r--r--gtk/gtkdnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index ca6c833bd..e11c07960 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -3059,7 +3059,7 @@ gtk_drag_end (GtkDragSourceInfo *info, guint32 time)
send_event.button.axes = NULL;
send_event.button.state = 0;
send_event.button.button = info->button;
- send_event.button.device = gdk_device_get_core_pointer ();
+ send_event.button.device = gdk_display_get_core_pointer (display);
send_event.button.x_root = 0;
send_event.button.y_root = 0;