Hello, On Thu 07 Apr 2022 at 08:28am +08, Po Lu wrote: > Sean Whitton writes: > >> Nice idea to avoid referring users to a bug report that doesn't apply to >> pgtk. But is there truly "no way to fix this problem" in the pgtk case >> too? Is it really that fundamental to the design of GTK3? > > Yes, 100%. GDK just calls `_exit' on an IO error. You cannot even run > an atexit handler. > > And since we don't have control over Xlib when built with PGTK, there's > no way to run code before GDK's own IO error handler either. Thanks. I'd like to install the attached patch to preempt questions like mine; any objections? I still have some stuff in my init.el based on the hope that this could be fixed; I'll probably remove it now :( -- Sean Whitton