How to catch X11 Window Close Event

2018-01-06 01:25 Pascal, X11, XServer, XLib, Window Close Event

Working directly with X, Xlib, XUtils, and so on, is actually a lot more pleasant than I was lead to believe. However there are a couple of annoying bits. One of which, is handling events generated by XServer, and the WindowManager (WM) differently. Since the Chrome, or elements around your application, are supplied by the WM, you will need to listen to a message from it, and not a standard EventType from XServer.

Read More