Implement selection offers from compositor to clients.
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Tue, 17 Jan 2012 13:32:32 +0000 (15:32 +0200)
committerJørgen Lind <jorgen.lind@nokia.com>
Tue, 17 Jan 2012 16:30:52 +0000 (17:30 +0100)
commitd458c31998f5e4fcf85cf31e4b9033fd18f77052
tree112f8830e3b87a36012c7b4dd638680b64bf0ac7
parentc4d4ca361744c689a6dd9b2436931fdcb5aa6df8
Implement selection offers from compositor to clients.

It is a hack but works beautifully. It allows the compositor to
participate in copy-paste which becomes mandatory when there is UI
running in the compositor process.

Change-Id: I1993d8705a26159eff0c9947244b66e954b9f460
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/compositor/wayland_wrapper/wayland_wrapper.pri
src/compositor/wayland_wrapper/wlcompositor.cpp
src/compositor/wayland_wrapper/wldatadevice.cpp
src/compositor/wayland_wrapper/wldatadevicemanager.cpp
src/compositor/wayland_wrapper/wldatadevicemanager.h
src/plugins/platforms/wayland/qwaylanddataoffer.cpp
src/plugins/platforms/wayland/qwaylanddataoffer.h
src/plugins/platforms/wayland/qwaylanddatasource.cpp
src/plugins/platforms/wayland/wayland.pro
src/shared/qwaylandmimehelper.cpp [new file with mode: 0644]
src/shared/qwaylandmimehelper.h [new file with mode: 0644]