DragContext.dragFindWindowForScreen

Finds the destination window and DND protocol to use at the given pointer position.

This function is called by the drag source to obtain the @dest_window and @protocol parameters for gdk_drag_motion().

class DragContext
static
void
dragFindWindowForScreen

Parameters

context DragContext

a #GdkDragContext

dragWindow Window

a window which may be at the pointer position, but should be ignored, since it is put up by the drag source as an icon

screen Screen

the screen where the destination window is sought

xRoot int

the x position of the pointer in root coordinates

yRoot int

the y position of the pointer in root coordinates

destWindow Window

location to store the destination window in

protocol GdkDragProtocol

location to store the DND protocol in

Meta