Handle really global selection offers in wayland clipboard.
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Fri, 10 Jun 2011 09:59:01 +0000 (11:59 +0200)
committerQt Continuous Integration System <qt-info@nokia.com>
Fri, 10 Jun 2011 12:27:32 +0000 (14:27 +0200)
commitbdda694e86a791b76a5acee0712f5e470700542d
tree97f943ecf1cf4778d01903c3b599c9342a4b42f1
parentfc74b4e56430ac6aa6c26a10eaa552df3aa34380
Handle really global selection offers in wayland clipboard.

Handle selection offer globals properly even if they arrive during the
initial blocking read. If such a global arrives so early, the platform
integration is not yet available from QApplicationPrivate (as it is
just being constructed). Therefore the handling of the selection
offer has to be delayed. At the moment selection offers are typically
posted as globals and not added to the global list, but that is likely
to change in the future.

Change-Id: Ib4ae804ad7f19e05978ee08828b88e028a3bf7b2
Reviewed-on: http://codereview.qt.nokia.com/446
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/plugins/platforms/wayland/qwaylanddisplay.cpp
src/plugins/platforms/wayland/qwaylanddisplay.h