Initial implementation to support XDND protocol.
diff --git a/dlls/x11drv/window.c b/dlls/x11drv/window.c
index 77e1f2e..0d33423 100644
--- a/dlls/x11drv/window.c
+++ b/dlls/x11drv/window.c
@@ -81,7 +81,24 @@
"_NET_WM_PID",
"_NET_WM_PING",
"_NET_WM_NAME",
+ "XdndAware",
+ "XdndEnter",
+ "XdndPosition",
+ "XdndStatus",
+ "XdndLeave",
+ "XdndFinished",
+ "XdndDrop",
+ "XdndActionCopy",
+ "XdndActionMove",
+ "XdndActionLink",
+ "XdndActionAsk",
+ "XdndActionPrivate",
+ "XdndSelection",
+ "XdndTarget",
+ "XdndTypeList",
"image/gif",
+ "text/html",
+ "text/plain",
"text/rtf",
"text/richtext"
};
@@ -356,6 +373,7 @@
XWMHints* wm_hints;
Atom protocols[3];
MwmHints mwm_hints;
+ Atom dndVersion = 4;
int i;
wine_tsx11_lock();
@@ -428,6 +446,9 @@
x11drv_atom(_MOTIF_WM_HINTS), 32, PropModeReplace,
(char*)&mwm_hints, sizeof(mwm_hints)/sizeof(long) );
+ XChangeProperty( display, data->whole_window, x11drv_atom(XdndAware),
+ XA_ATOM, 32, PropModeReplace, (unsigned char*)&dndVersion, 1 );
+
wm_hints = XAllocWMHints();
wine_tsx11_unlock();