begin_resize_drag


Description:

public void begin_resize_drag (WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp)

Begins a window resize operation (for a toplevel window).

This function assumes that the drag is controlled by the client pointer device, use begin_resize_drag_for_device to begin a drag with a different device.

Parameters:

this

a toplevel Window

edge

the edge or corner from which the drag is started

button

the button being used to drag, or 0 for a keyboard-initiated drag

root_x

root window X coordinate of mouse click that began the drag

root_y

root window Y coordinate of mouse click that began the drag

timestamp

timestamp of mouse click that began the drag (use get_time)