Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for lock recusion in handle_all_expose() #683

Merged
merged 1 commit into from Aug 8, 2022

Commits on Aug 8, 2022

  1. Fix for lock recusion in handle_all_expose()

    XCheckIfEvent() holds the X display lock and the predicate
    function it calls is not allowed to call any Xlib function that
    would re-enter the lock.
    libX11 1.8.1 enables X display locks unconditionnaly (it was only
    enabled by XInitThreads() when called explicitely before) and
    thus exposes the issue.
    
    So don't process events in the FCheckPeekIfEvent() predicate, but
    instead use a separate handler that is called for the returned event
    out of the lock.
    mherrb committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    71b2deb View commit details
    Browse the repository at this point in the history