Fix #33192: Opening Blender breaks drag-and-drop support on the KDE desktop
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 15 Nov 2012 20:50:48 +0000 (20:50 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 15 Nov 2012 20:50:48 +0000 (20:50 +0000)
Do not set root window as DND aware.

extern/xdnd/xdnd.c

index 9bdee89..50d1fec 100644 (file)
@@ -347,7 +347,7 @@ void xdnd_set_dnd_aware (DndClass * dnd, Window window, Atom * typelist)
                     &nchildren_return);
     if (children_return)
         XFree (children_return);
-    if (r)
+    if (r && parent != root_return)
         xdnd_set_dnd_aware (dnd, parent, typelist);
 }