diff options
author | Morten Johan Sørvig <morten.sorvig@theqtcompany.com> | 2015-04-29 12:34:16 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@theqtcompany.com> | 2015-08-27 21:58:24 +0000 |
commit | ac9643c85ff829583c8be958b5eea4d543070882 (patch) | |
tree | e8b891d64cfe5861d5d04234050d0511e6a4eeaf /src/gui/opengl | |
parent | 6d51697f1d4a5b1d0d57efca29a8d81a591567bd (diff) |
Make flushWindowSystemEvents return ev. accepted
flushWindowSystemEvents() now returns whether the
most recent event added to the queue was accepted
by Qt or not.
Use QAtomicInt to store the accepted state in order
to avoid a data race on it between the Gui thread
and the event poster thread.
Change-Id: I6c111fdaecda5c514307ca0749a54075fe8e872f
Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
Diffstat (limited to 'src/gui/opengl')
0 files changed, 0 insertions, 0 deletions