diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-11-05 01:10:16 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-11-05 01:10:16 -0400 |
commit | 250d4331b2884bb1e86999a267598a94ad012f2a (patch) | |
tree | 973c6ccf6178ebbdbdf036ae833dfbdf046c4135 /gdk/gdkwindow.h | |
parent | 3bd00598503458d056767fc7d4366d8bb3ba8f4c (diff) | |
download | gtk+-250d4331b2884bb1e86999a267598a94ad012f2a.tar.gz |
Add device-taking variants of begin_resize/move_drag
This was one of the last places where display->core_pointer was
used in non-deprecated code paths.
Diffstat (limited to 'gdk/gdkwindow.h')
-rw-r--r-- | gdk/gdkwindow.h | 39 |
1 files changed, 26 insertions, 13 deletions
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h index f50d84a79b..50779fe365 100644 --- a/gdk/gdkwindow.h +++ b/gdk/gdkwindow.h @@ -784,19 +784,32 @@ void gdk_window_register_dnd (GdkWindow *window); GdkDragProtocol gdk_window_get_drag_protocol(GdkWindow *window, - GdkWindow **target); - -void gdk_window_begin_resize_drag (GdkWindow *window, - GdkWindowEdge edge, - gint button, - gint root_x, - gint root_y, - guint32 timestamp); -void gdk_window_begin_move_drag (GdkWindow *window, - gint button, - gint root_x, - gint root_y, - guint32 timestamp); + GdkWindow **target); + +void gdk_window_begin_resize_drag (GdkWindow *window, + GdkWindowEdge edge, + gint button, + gint root_x, + gint root_y, + guint32 timestamp); +void gdk_window_begin_resize_drag_for_device (GdkWindow *window, + GdkWindowEdge edge, + GdkDevice *device, + gint button, + gint root_x, + gint root_y, + guint32 timestamp); +void gdk_window_begin_move_drag (GdkWindow *window, + gint button, + gint root_x, + gint root_y, + guint32 timestamp); +void gdk_window_begin_move_drag_for_device (GdkWindow *window, + GdkDevice *device, + gint button, + gint root_x, + gint root_y, + guint32 timestamp); /* Interface for dirty-region queueing */ void gdk_window_invalidate_rect (GdkWindow *window, |