Files
godot/platform/linuxbsd/x11
norepro 3ffec30d51 Fix some X11 BadWindow errors not being ignored
Godot suppresses X11 BadWindow errors during some operations because
they can occur with normal usage.

X11 errors are asynchronous. Sometimes, when a BadWindow error is sent,
it is dequeued after the original non-BadWindow-suppressing error
handler has been restored. This results in an error callstack being
shown to the user.

Call `XSync` before restoring the original error handler. This ensures
that any queued BadWindow errors go to the suppressing handler.

Fixes #117814
2026-05-06 22:55:31 -07:00
..