diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2012-05-08 16:41:33 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-10 13:50:35 +0200 |
commit | 07f3c1e26aa6dcd07a9705e7b2ea02ace9ea7c5d (patch) | |
tree | 96495e802823e7cea4a69bc0707b2a3231afd4f3 /src/plugins/platforms/xcb/qxcbdrag.h | |
parent | 3b6b8a0f749bb20d8e83762060ac87d2ec207562 (diff) |
XShaping drag and drop fixes
No shaping rectangles means no interaction with the window
The shaping rectangles are based on the window coords, so need to substract the window coords when checking for the point
Change-Id: Ic9004a8ec0f447cddcd1b4324d9fd60a94787cb9
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbdrag.h')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbdrag.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbdrag.h b/src/plugins/platforms/xcb/qxcbdrag.h index 2f74b3eaf7..595018458f 100644 --- a/src/plugins/platforms/xcb/qxcbdrag.h +++ b/src/plugins/platforms/xcb/qxcbdrag.h @@ -158,7 +158,7 @@ private: void restartDropExpiryTimer(); int findTransactionByWindow(xcb_window_t window); int findTransactionByTime(xcb_timestamp_t timestamp); - xcb_window_t findRealWindow(const QPoint & pos, xcb_window_t w, int md); + xcb_window_t findRealWindow(const QPoint & pos, xcb_window_t w, int md, bool ignoreNonXdndAwareWindows); }; QT_END_NAMESPACE |