1 diff -Nur a/src/gui/kernel/qdnd_x11.cpp b/src/gui/kernel/qdnd_x11.cpp
2 --- a/src/gui/kernel/qdnd_x11.cpp 2012-03-14 15:01:16.000000000 +0100
3 +++ b/src/gui/kernel/qdnd_x11.cpp 2012-05-20 17:19:38.992247206 +0200
5 global_accepted_action = Qt::IgnoreAction;
10 bool windowInteractsWithPosition(const QPoint & pos, Window w, int shapeType)
19 Window findRealWindow(const QPoint & pos, Window w, int md)
21 XGetWindowProperty(X11->display, w, ATOM(XdndAware), 0, 0, False,
22 AnyPropertyType, &type, &f,&n,&a,&data);
23 if (data) XFree(data);
27 // When ShapeInput and ShapeBounding are not set they return a single rectangle with the geometry of the window, this is why we
28 // need an && here so that in the case one is set and the other is not we still get the correct result.
30 if (windowContainsMouse)
39 @@ -1488,10 +1495,12 @@
45 if (!windowContainsMouse)