News for hackers. Stuff that matters.
Re:Perlwm – a window manager written entirely in Perl by joosters on Friday February 14, 2020 @01:37PM (#22328961)
Would it be possible to solve this by creating a proxy between the xlib application and the X server? This proxy could re-issue failed requests, or reroute them to a different server. Basically, it would be the error-handling layer, so that all xlib calls always seem to work, from the application's viewpoint.

As a proxy, it could improve error handling across all X applications without any application code changes.

Re:Perlwm – a window manager written entirely in Perl by DonHopkins on Friday February 14, 2020 @02:58PM (#22329793)
It would be better for life on Earth as we know it if the proxy simply cut you off from the X server, forcing you to find a better window system to use. It's much better to prevent errors from happening in the first place, than to handle them after they happen.