Add an optional retained selection mode to the compositor.
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Mon, 16 May 2011 08:03:21 +0000 (10:03 +0200)
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>
Wed, 18 May 2011 11:38:37 +0000 (13:38 +0200)
commit735902e897235b61166d9b9dc14c7737298bdb2e
tree081c279d0b6dd642e09ce361e27a4fd04714c298
parent509b45c49915ce92e7c0656ebbe920fb8904858f
Add an optional retained selection mode to the compositor.

Enabling this feature will cause the server to retrieve all data
for all mime types as soon as a selection is activated. This data
is then used as a backup, to keep the selection and the offer
working even after the app holding the current selection exits.

Reviewed-by: Samuel Rødal
examples/qwidget-compositor/main.cpp
src/qt-compositor/compositor_api/waylandcompositor.cpp
src/qt-compositor/compositor_api/waylandcompositor.h
src/qt-compositor/wayland_wrapper/wlselection.cpp
src/qt-compositor/wayland_wrapper/wlselection.h