Skip to content

Fix a recursive lock in libX11.

Matthieu Herrb requested to merge mherrb/xfce4-settings:libx11-1.8.1-fix into master

The XIfEvent() predicate function is not allowed to take the X display lock, because it is already taken in XIfEvent() itself.

With libX11 1.8.1 this causes a dead-lock because libX11 now unconditionnally calls XInitThreads(), making the X display lock always active.

Signed-off-by: Matthieu Herrb matthieu@herrb.eu

Merge request reports