diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2014-05-23 18:48:53 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2014-05-23 18:56:05 +0200 |
commit | 8100131214ac2ee46b632703d8ba2babeaf3b5f6 (patch) | |
tree | ea57a61d7c7d827666c25b18a08a5136d2e1d0c6 /vcl/quartz | |
parent | 653e4adddfc80aeb91c1d21c18e95b3986c85c54 (diff) |
force posted events before timer timeouts in KDE4 event loop (bnc#467278)
In this particular case, basctl::Shell::onDocumentCreated() and pretty much
everything in basctl/ it seems operate on the current window. The "OnNew"
event that triggers this comes from a timeout generated who knows where
for whatever reason. However, the code "knows" what the current window
is by having basctl::Shell::SetCurWindow() react on events about the current
window changing ... which come from posted events.
So, unless it's defined somewhere that an ordering here must exist, this
is inherently racy. At least generic and Gtk event loops appear to always
deliver the posted event first, so force the same ordering in the KDE
event loop handling.
Change-Id: Ia098f6b45e6b5a5133a12a9172eb09069e6362f9
Diffstat (limited to 'vcl/quartz')
0 files changed, 0 insertions, 0 deletions