summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbdrag.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbdrag.h')
-rw-r--r--src/plugins/platforms/xcb/qxcbdrag.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbdrag.h b/src/plugins/platforms/xcb/qxcbdrag.h
index 19b7dd7f96..ef277e7eec 100644
--- a/src/plugins/platforms/xcb/qxcbdrag.h
+++ b/src/plugins/platforms/xcb/qxcbdrag.h
@@ -98,6 +98,7 @@ public:
bool dndEnable(QXcbWindow *win, bool on);
void updatePixmap();
+ xcb_timestamp_t targetTime() { return target_time; }
protected:
void timerEvent(QTimerEvent* e);
@@ -128,6 +129,7 @@ private:
enum { xdnd_max_type = 100 };
QList<xcb_atom_t> xdnd_types;
+ // timestamp from XdndPosition and XdndDroptime for retrieving the data
xcb_timestamp_t target_time;
xcb_timestamp_t source_time;