mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-17 18:20:41 +01:00
XQuartz: Fix a deadlock in pre-dispatch code
The fact that this has been in place so long makes me really wonder if
anybody cares about this running in Tiger or Leopard.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
(cherry picked from commit b4c4c65a35)
This commit is contained in:
parent
9ef48c9fff
commit
8a48d44574
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ xprCreateFrame(RootlessWindowPtr pFrame, ScreenPtr pScreen,
|
|||
#else
|
||||
pthread_rwlock_wrlock(&window_hash_rwlock);
|
||||
x_hash_table_insert(window_hash, pFrame->wid, pFrame);
|
||||
pthread_rwlock_wrlock(&window_hash_rwlock);
|
||||
pthread_rwlock_unlock(&window_hash_rwlock);
|
||||
#endif
|
||||
|
||||
xprSetNativeProperty(pFrame);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue