I'm using XCB, and I'm trying to find a happy abstraction between Cocoa and X11. In Cocoa, an application can work even though no windows are displayed. In XCB, you should create a window for window manager interaction. There are per-window WM_DELETE_WINDOW events, but is there something similar to "Quit" the application? e.g. fired on logout, or if the user invokes some WM specific "quit" action?
A Mastodon instance for Rubyists & friends