Use a barrier to ensure we don't flush important window events
This commit is contained in:
parent
e6f59062fa
commit
2d62d090df
3 changed files with 47 additions and 6 deletions
|
|
@ -39,6 +39,8 @@ public:
|
|||
return m_OverlayManager;
|
||||
}
|
||||
|
||||
void flushWindowEvents();
|
||||
|
||||
signals:
|
||||
void stageStarting(QString stage);
|
||||
|
||||
|
|
@ -150,6 +152,7 @@ private:
|
|||
SdlInputHandler* m_InputHandler;
|
||||
SDL_SpinLock m_InputHandlerLock;
|
||||
int m_MouseEmulationRefCount;
|
||||
bool m_FlushingWindowEvents;
|
||||
|
||||
bool m_AsyncConnectionSuccess;
|
||||
int m_PortTestResults;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue