Skip to content

Commit 6cf1825

Browse files
allefantSiegeLord
authored andcommitted
add missing file to git
1 parent 014a1f8 commit 6cf1825

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#ifndef __al_included_allegro5_aintern_xdnd_h
2+
#define __al_included_allegro5_aintern_xdnd_h
3+
4+
typedef struct {
5+
Atom XdndEnter;
6+
Atom XdndPosition;
7+
Atom XdndStatus;
8+
Atom XdndTypeList;
9+
Atom XdndActionCopy;
10+
Atom XdndDrop;
11+
Atom XdndFinished;
12+
Atom XdndSelection;
13+
Atom XdndLeave;
14+
Atom PRIMARY;
15+
16+
Atom xdnd_req;
17+
Window xdnd_source;
18+
} DndInfo;
19+
20+
void _al_display_xglx_init_dnd_atoms(ALLEGRO_SYSTEM_XGLX *s);
21+
void _al_xwin_accept_drag_and_drop(ALLEGRO_DISPLAY *display, bool accept);
22+
bool _al_display_xglx_handle_drag_and_drop(ALLEGRO_SYSTEM_XGLX *s,
23+
ALLEGRO_DISPLAY_XGLX *allegro_display, XEvent *event);
24+
bool _al_display_xglx_handle_drag_and_drop_selection(ALLEGRO_SYSTEM_XGLX *s,
25+
ALLEGRO_DISPLAY_XGLX *allegro_display, XEvent *xevent);
26+
27+
#endif
28+
29+
/* vim: set sts=3 sw=3 et: */

0 commit comments

Comments
 (0)