From fdcdae21d8ec077d8c24786ed5d4420fe770bcbf Mon Sep 17 00:00:00 2001 From: Gatis Paeglis Date: Tue, 26 Jun 2012 19:14:45 +0200 Subject: Set window's surface format to support alpha channel. Task-number: QTBUG-26114 Change-Id: I33f191373327832fb9d3054366412ec5be855cff Reviewed-by: Friedemann Kleint --- src/plugins/platforms/xcb/qxcbdrag.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/plugins/platforms/xcb/qxcbdrag.cpp') diff --git a/src/plugins/platforms/xcb/qxcbdrag.cpp b/src/plugins/platforms/xcb/qxcbdrag.cpp index 3299180577..176d1bbe2e 100644 --- a/src/plugins/platforms/xcb/qxcbdrag.cpp +++ b/src/plugins/platforms/xcb/qxcbdrag.cpp @@ -465,7 +465,6 @@ void QXcbDrag::move(const QMouseEvent *me) move.window = target; move.format = 32; move.type = atom(QXcbAtom::XdndPosition); - move.window = target; move.data.data32[0] = connection()->clipboard()->owner(); move.data.data32[1] = 0; // flags move.data.data32[2] = (globalPos.x() << 16) + globalPos.y(); -- cgit v1.2.3