Fix 797755 Allow X*IfEvent() to reenter libX11
- the activation logic is reversed
- there is also _XInternalLockDisplay() that needs protection
- I've found cases (in fvwm2) where the callback calls XCheckIfEvent()
recursively. So the flag needs to be a counter.
Reviewed-by:
Adam Jackson <ajax@redhat.com>
- include/X11/Xlibint.h 1 addition, 1 deletioninclude/X11/Xlibint.h
- src/ChkIfEv.c 2 additions, 2 deletionssrc/ChkIfEv.c
- src/IfEvent.c 2 additions, 2 deletionssrc/IfEvent.c
- src/OpenDis.c 1 addition, 1 deletionsrc/OpenDis.c
- src/PeekIfEv.c 2 additions, 2 deletionssrc/PeekIfEv.c
- src/locking.c 22 additions, 5 deletionssrc/locking.c
-
mentioned in issue #168 (closed)
-
mentioned in issue #170 (closed)
-
mentioned in merge request !176 (merged)