ecere/gui/XInterface: Fixed X11 deadlocks with threads enabled
authorJerome St-Louis <jerome@ecere.com>
Fri, 14 Mar 2014 22:29:46 +0000 (18:29 -0400)
committerJerome St-Louis <jerome@ecere.com>
Fri, 14 Mar 2014 22:29:46 +0000 (18:29 -0400)
commitb859ebbeb7f7bc42b733bb1b2ae409b2037f4514
tree6ab1c63a14563ec1ed65e0b83daefa23809f6dd4
parent8394728b13ec175788252002f26477f4175cabdf
ecere/gui/XInterface: Fixed X11 deadlocks with threads enabled
- Avoiding calling XFindContext from within the FocusInChecker predicate, as that deadlocked
- Put back call to XInitThreads(), for use with libraries / applications not mutexing out X calls
- Fixed initial XLockDisplay being skipped due to xGlobalDisplay not yet initialized
ecere/src/gui/GuiApplication.ec
ecere/src/gui/drivers/XInterface.ec