summaryrefslogtreecommitdiffstats
path: root/src/modules/qt_testlib.pri
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-05-12 16:20:03 +0200
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-05-13 09:27:11 +0200
commit542ba35f2f0dfd265435f32ee79e498226989e6c (patch)
tree9ab7c9431de235ffb264997542752541936333ff /src/modules/qt_testlib.pri
parentdd1a7a6379181765c3e8585f8fd12fb69f67c965 (diff)
Fix deadlocks in wayland clipboard that can occur in special scenarios.
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
Diffstat (limited to 'src/modules/qt_testlib.pri')
0 files changed, 0 insertions, 0 deletions