diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2013-11-21 12:40:57 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2013-12-12 12:59:21 +0100 |
commit | 8b4775458600dc2a2e8eb17e0bade35221c6b2ea (patch) | |
tree | f0bc8710a45818e887a97093f488f2f6fcf245c5 /sfx2 | |
parent | 0096575d2269e1d5931e18c10d26ab00bcabf495 (diff) |
fdo#67011: Run Display::Yield through KDEXLib::Yield.
Drag'n'Drop is handled in a second thread, which tries to "yield
the display" while the main Qt thread probably is already
yielding. Both need the YieldMutex, which freezes the application
until the D'n'D thread times out.
Trying to yield the display throught the application yield
results in a recursive loop.
So this catches and breaks the recursion, but just inside the Qt
thread, so other processes can "yield on the display", instead
of simply disabling the Display::Yield.
Change-Id: Ifba91aa89fe5b0a89cc94820935dc996a065112f
Reviewed-on: https://gerrit.libreoffice.org/6750
Tested-by: Jan-Marek Glogowski <glogow@fbihome.de>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'sfx2')
0 files changed, 0 insertions, 0 deletions