21 #include <X11/Xatom.h>
25 #define DndIncludeVersion (DndVersion * 10 + DndRevision)
30 #define DND_DRAG_NONE 0
31 #define DND_DRAG_DROP_ONLY 1
32 #define DND_DRAG_DYNAMIC 5
35 #define DND_TOP_LEVEL_ENTER 0
36 #define DND_TOP_LEVEL_LEAVE 1
37 #define DND_DRAG_MOTION 2
38 #define DND_DROP_SITE_ENTER 3
39 #define DND_DROP_SITE_LEAVE 4
40 #define DND_DROP_START 5
41 #define DND_OPERATION_CHANGED 8
45 #define DND_MOVE (1L << 0)
46 #define DND_COPY (1L << 1)
47 #define DND_LINK (1L << 2)
50 #define DND_NO_DROP_SITE 1
51 #define DND_INVALID_DROP_SITE 2
52 #define DND_VALID_DROP_SITE 3
56 #define DND_DROP_HELP 1
57 #define DND_DROP_CANCEL 2
80 Window window, Atom dnd_selection,
81 Atom * targets,
unsigned short num_targets);
85 Window window, Atom dnd_selection,
86 Atom ** targets,
unsigned short * num_targets);
90 unsigned char protocol_style);
94 unsigned char * protocol_style);
98 XClientMessageEvent *cm,