summaryrefslogtreecommitdiff
path: root/gdk/gdkinternals.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2015-01-06 14:52:42 +0100
committerCarlos Garnacho <carlosg@gnome.org>2016-04-06 15:43:29 +0200
commit6d73e75153e3de80fa5bf0ca8fcc07d2a3a6fde7 (patch)
treed054a74688653e09b98556f5211af86a303aaaba /gdk/gdkinternals.h
parent5a25c5a9f2af96d2c7c086fa994d2de61cfe6e6d (diff)
downloadgtk+-6d73e75153e3de80fa5bf0ca8fcc07d2a3a6fde7.tar.gz
events: Add gdk_event_[gs]et_device_tool()
This getter/setter will manage the tool pointer in GdkEventPrivate. The setter should be most notably used by backends.
Diffstat (limited to 'gdk/gdkinternals.h')
-rw-r--r--gdk/gdkinternals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 2edc20472f..f68cd99700 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -189,6 +189,7 @@ struct _GdkEventPrivate
GdkDevice *device;
GdkDevice *source_device;
GdkSeat *seat;
+ GdkDeviceTool *tool;
};
typedef struct _GdkWindowPaint GdkWindowPaint;