summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbdrag.h
diff options
context:
space:
mode:
authorBłażej Szczygieł <spaz16@wp.pl>2017-08-27 16:22:08 +0200
committerBłażej Szczygieł <spaz16@wp.pl>2017-11-29 23:05:06 +0000
commitda50a0b38ceb730ad3c30d600adfe4435a498550 (patch)
tree3fd5840cf34b98ced669d4914c7b8604802601e2 /src/plugins/platforms/xcb/qxcbdrag.h
parent85eef0e5e05e84b1640a1887fe872e3adbc0ac5b (diff)
xcb: Set executed drop action when drop is outside the application
Task-number: QTBUG-62815 Change-Id: I13ee1a3a7e9515d827d29ada38bc0d396f4800d7 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbdrag.h')
-rw-r--r--src/plugins/platforms/xcb/qxcbdrag.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbdrag.h b/src/plugins/platforms/xcb/qxcbdrag.h
index 2d152edf76..9e1ee46593 100644
--- a/src/plugins/platforms/xcb/qxcbdrag.h
+++ b/src/plugins/platforms/xcb/qxcbdrag.h
@@ -136,6 +136,10 @@ private:
QRect source_sameanswer;
bool waiting_for_status;
+ // helpers for setting executed drop action outside application
+ bool dropped;
+ bool canceled;
+
// top-level window we sent position to last.
xcb_window_t current_target;
// window to send events to (always valid if current_target)