Skip to content

glx: Increment dpy->request before issuing an error that had no request

Daniel van Vugt requested to merge vanvugt/mesa:fix-mutter-issue-3007 into main

This ensures the sequence number is unique and recent enough for callers of glXQueryDrawable using XNextRequest to selectively trap errors. The same approach is already used in glXCreateContextAttribsARB.

Suggested-by: Sebastian Keller skeller@gnome.org

Related-to: https://gitlab.gnome.org/GNOME/mutter/-/issues/3007

Merge request reports

Loading