diff options
-rw-r--r-- | src/gui/kernel/qdnd_x11.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qdnd_x11.cpp b/src/gui/kernel/qdnd_x11.cpp index c4d2469..4a98419 100644 --- a/src/gui/kernel/qdnd_x11.cpp +++ b/src/gui/kernel/qdnd_x11.cpp @@ -1465,7 +1465,9 @@ Window findRealWindow(const QPoint & pos, Window w, int md) if (type) { // When ShapeInput and ShapeBounding are not set they return a single rectangle with the geometry of the window, this is why we // need an && here so that in the case one is set and the other is not we still get the correct result. +#if !defined(Q_OS_SOLARIS) windowContainsMouse = windowInteractsWithPosition(pos, w, ShapeInput) && windowInteractsWithPosition(pos, w, ShapeBounding); +#endif if (windowContainsMouse) return w; } |