gdk: Allow passing the start coordinates in drag_begin
Add a variant of gdk_drag_begin that takes the start position in addition to the device. All backend implementation have been updated to accept (and ignore) the new arguments. Subsequent commits will make use of the data in some backends.
This commit is contained in:
@ -1948,7 +1948,9 @@ create_drag_window (GdkScreen *screen)
|
||||
GdkDragContext *
|
||||
_gdk_x11_window_drag_begin (GdkWindow *window,
|
||||
GdkDevice *device,
|
||||
GList *targets)
|
||||
GList *targets,
|
||||
gint x_root,
|
||||
gint y_root)
|
||||
{
|
||||
GdkDragContext *context;
|
||||
|
||||
|
||||
@ -312,7 +312,9 @@ void _gdk_x11_window_register_dnd (GdkWindow *window);
|
||||
|
||||
GdkDragContext * _gdk_x11_window_drag_begin (GdkWindow *window,
|
||||
GdkDevice *device,
|
||||
GList *targets);
|
||||
GList *targets,
|
||||
gint x_root,
|
||||
gint y_root);
|
||||
|
||||
gboolean _gdk_x11_get_xft_setting (GdkScreen *screen,
|
||||
const gchar *name,
|
||||
|
||||
Reference in New Issue
Block a user