Bad design in X11 which can't be fixed.

https://news.ycombinator.com/item?id=25801693

I'm surprised he doesn't mention XSecureLock. Its entire focus is on preventing issues like this with modularity and redundancy.

https://github.com/google/xsecurelock