diff options
author | Benjamin Otte <otte@redhat.com> | 2010-12-27 18:03:38 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-12-27 18:46:41 +0100 |
commit | 0c285341a959ddbaad4ecc75e5f1a1ad66c5274e (patch) | |
tree | d45d750b9d721d21f614d8361a82bb745bf9dd87 /gdk/gdkdevice.h | |
parent | 586283ecbbfc0c5fb3354c07e978c680fe89f129 (diff) | |
download | gtk+-0c285341a959ddbaad4ecc75e5f1a1ad66c5274e.tar.gz |
API: gdk: gdk_display_get_device_state() => gdk_device_get_position()
The API was not display-specific, but belonged to the device. Also, we
didn't find a user of the modifier mask, so we dropped it.
Diffstat (limited to 'gdk/gdkdevice.h')
-rw-r--r-- | gdk/gdkdevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h index ef142eb28a..ecce89a338 100644 --- a/gdk/gdkdevice.h +++ b/gdk/gdkdevice.h @@ -189,6 +189,10 @@ void gdk_device_get_state (GdkDevice *device, GdkWindow *window, gdouble *axes, GdkModifierType *mask); +void gdk_device_get_position (GdkDevice *device, + GdkScreen **screen, + gint *x, + gint *y); gboolean gdk_device_get_history (GdkDevice *device, GdkWindow *window, guint32 start, |