top of page
Drag-and-Drop Protocol for the X Window System
Definitions
The source is the window that will supply the data.
The target is the window that the cursor is on top of and which will receive the drop if the mouse is released.
You should be familiar with the X Selection mechanism described in the Xlib manuals: Volume 0, Appendix L and Volume 1, Chapter 10.
All data types and actions are referred to by their corresponding X Atoms. The atom names of the data types are the corresponding MIME types, in all lower case. (RFC's for MIME: 2045, 2046, 2047, 2048, 2049)
All constants mentioned in this document are the string names of X atoms, capitalized as shown. This avoids the need for hard-coded values, which would require a global registry.
bottom of page