1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

xdnd drop support on dock.

This commit is contained in:
id
1999-05-17 20:21:43 +00:00
parent d6f1c81924
commit d40250728d
14 changed files with 383 additions and 165 deletions

View File

@@ -57,6 +57,9 @@
#include "defaults.h"
#include "properties.h"
#include "dialog.h"
#ifdef XDND
#include "xdnd.h"
#endif
#include "xutil.h"
@@ -125,14 +128,6 @@ extern Atom _XA_GNUSTEP_WM_MINIATURIZE_WINDOW;
extern Atom _XA_DND_PROTOCOL;
extern Atom _XA_DND_SELECTION;
#endif
#ifdef XDE_DND
extern Atom _XA_XDE_REQUEST;
extern Atom _XA_XDE_ENTER;
extern Atom _XA_XDE_LEAVE;
extern Atom _XA_XDE_DATA_AVAILABLE;
extern Atom _XDE_FILETYPE;
extern Atom _XDE_URLTYPE;
#endif
/* cursors */
@@ -697,13 +692,8 @@ StartUp(Bool defaultScreenOnly)
_XA_DND_SELECTION = XInternAtom(dpy, "DndSelection", False);
_XA_DND_PROTOCOL = XInternAtom(dpy, "DndProtocol", False);
#endif
#ifdef XDE_DND
_XA_XDE_ENTER = XInternAtom(dpy, "_XDE_ENTER", False);
_XA_XDE_REQUEST = XInternAtom(dpy, "_XDE_REQUEST", False);
_XA_XDE_LEAVE = XInternAtom(dpy, "_XDE_LEAVE", False);
_XA_XDE_DATA_AVAILABLE = XInternAtom(dpy, "_XDE_DATA_AVAILABLE", False);
_XDE_FILETYPE = XInternAtom(dpy, "file:ALL", False);
_XDE_URLTYPE = XInternAtom(dpy, "url:ALL", False);
#ifdef XDND
wXDNDInitializeAtoms();
#endif