mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 07:22:21 +08:00
fixed re-entrant calls to X bug.
This commit is contained in:
@@ -387,7 +387,10 @@ CXWindowsScreen::processEvent(XEvent* xevent)
|
||||
}
|
||||
|
||||
// let screen saver have a go
|
||||
m_screenSaver->processEvent(xevent);
|
||||
{
|
||||
CLock lock(&m_mutex);
|
||||
m_screenSaver->processEvent(xevent);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user