Skip to content

x11window: Sync xcb_sync_destroy_alarm to lifetime of the window being alive

David Edmundson requested to merge work/d_ed/x11_crash_fix into master

Recent-ish changes meant that the X11 window is kept alive whilst an effect may be using the window.

This changes the lifetime of the sync alarm. This is problematic in the case of an XWayland crash, we can assume whilst an X11 client is valid the X11 connection is also valid, but if a close animation is used the connection might not be valid when the destructor is called.

Merge request reports