aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas/gnome-canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgnomecanvas/gnome-canvas.h')
-rw-r--r--libgnomecanvas/gnome-canvas.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libgnomecanvas/gnome-canvas.h b/libgnomecanvas/gnome-canvas.h
index 603ebfebc3..2c2befbf2f 100644
--- a/libgnomecanvas/gnome-canvas.h
+++ b/libgnomecanvas/gnome-canvas.h
@@ -245,7 +245,8 @@ void gnome_canvas_item_hide (GnomeCanvasItem *item);
* XGrabPointer().
*/
gint gnome_canvas_item_grab (GnomeCanvasItem *item, guint event_mask,
- GdkCursor *cursor, guint32 etime);
+ GdkCursor *cursor, GdkDevice *device,
+ guint32 etime);
/* Ungrabs the mouse -- the specified item must be the same that was passed to
* gnome_canvas_item_grab(). Time is a proper X event time parameter.
@@ -362,6 +363,9 @@ struct _GnomeCanvas {
/* Item that holds a pointer grab, or NULL if none */
GnomeCanvasItem *grabbed_item;
+ /* The grabbed device for grabbed_item. */
+ GdkDevice *grabbed_device;
+
/* If non-NULL, the currently focused item */
GnomeCanvasItem *focused_item;