void gdk_window_begin_move_drag_for_device ( GdkWindow* window, GdkDevice* device, gint button, gint root_x, gint root_y, guint32 timestamp )
Begins a window move operation (for a toplevel window). You might use this function to implement a “window move grip,” for example. The function works best with window managers that support the Extended Window Manager Hints but has a fallback implementation for other window managers.
Available since: 3.4
The device used for the operation.
The data is owned by the caller of the method.
The button being used to drag, or 0 for a keyboard-initiated drag.
Root window X coordinate of mouse click that began the drag.
Root window Y coordinate of mouse click that began the drag.
Timestamp of mouse click that began the drag.