mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-12 22:55:53 +08:00
Failed to reset flag in X11 event queue buffer and that could cause
multiple threads to access the X display connection simultaneously which causes synergy to die.
This commit is contained in:
@@ -119,7 +119,7 @@ CXWindowsEventQueueBuffer::waitForEvent(double dtimeout)
|
||||
{
|
||||
// we're no longer waiting for events
|
||||
CLock lock(&m_mutex);
|
||||
m_waiting = true;
|
||||
m_waiting = false;
|
||||
}
|
||||
|
||||
CThread::testCancel();
|
||||
|
||||
Reference in New Issue
Block a user