Window.beginMoveDragForDevice
void beginMoveDragForDevice(gdk.device.Device device, int button, int rootX, int rootY, uint 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 Hintsbut has a fallback implementation for other window managers.
Parameters
device | the device used for the operation |
button | the button being used to drag, or 0 for a keyboard-initiated drag |
rootX | root window X coordinate of mouse click that began the drag |
rootY | root window Y coordinate of mouse click that began the drag |
timestamp | timestamp of mouse click that began the drag |