summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/qwaylandclipboard.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix deadlocks in wayland clipboard that can occur in special scenarios.Laszlo Agocs2011-05-131-9/+16
| | | | | | | | | | | | setMimeData() emits the changed signal always so to prevent duplicated signals keyboardFocus() must only emit when the change came from another wayland client. However direct connection may cause issues when invoking the slot from a wayland callback, so use a metacall to make sure we return from the callback. Unnecessary data transfer and potential deadlock is now also avoided when a client is requesting the mime data from itself. Reviewed-by: Jørgen Lind
* Prevent crash in wayland mimedata in case there is no offer.Laszlo Agocs2011-05-101-0/+2
|
* Remove const from QPlatformClipboard::mimeData().Laszlo Agocs2011-05-101-1/+1
| | | | | Most implementations will anyway do non-const operations in there, the change avoids the need for const_cast or mutable.
* Retrieve the actual data in the Wayland clipboard only when requested.Laszlo Agocs2011-05-101-22/+64
|
* Added Wayland selection support.Laszlo Agocs2011-05-091-0/+242