Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-11-16 00:50:48 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-11-16 00:50:48 +0400
commit724574595561cf49d09f13b2515f754b24e61aef (patch)
tree9fe23e82ec57f3dbf622e0810584b2d537a3c640 /extern/xdnd
parentdc4ffd8a8617459f4c8468b36a9ee0bba48af54c (diff)
Fix #33192: Opening Blender breaks drag-and-drop support on the KDE desktop
Do not set root window as DND aware.
Diffstat (limited to 'extern/xdnd')
-rw-r--r--extern/xdnd/xdnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/xdnd/xdnd.c b/extern/xdnd/xdnd.c
index 9bdee89c1ce..50d1fec4969 100644
--- a/extern/xdnd/xdnd.c
+++ b/extern/xdnd/xdnd.c
@@ -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);
}