diff options
author | Sven Gothel <[email protected]> | 2011-11-25 03:06:56 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-11-25 03:06:56 +0100 |
commit | 0314be79a7a93931a74fe4322bc78e699d7741e9 (patch) | |
tree | f5f9be82bc3c2acbf6f8122c60a5d2d1c3f5cc99 /src/newt/native/InputEvent.h | |
parent | 9ef0a0c185ace5217efc014809e97c5eead842cc (diff) |
NativeWindow X11 Locking: Fix XInitThreads/XLockDisplay/XUnlockDisplay Usage ;
XLockDisplay/XUnlockDisplay shall only be used if XInitThreads() was successful,
otherwise it has no effect (X11 spec).
- Only issue XInitThreads() if firstX11ActionOnProcess==true,
store result to determing whether we can utilize XLockDisplay/XUnlockDisplay.
- If we cannot utilize XLockDisplay/XUnlockDisplay, use RecursiveLock
- NativeWindowFactory: Only return AWTToolkitLock or X11JAWTToolkitLock if explicitly requested
Diffstat (limited to 'src/newt/native/InputEvent.h')
0 files changed, 0 insertions, 0 deletions