Help Needed!

Written for AllTray by Michael B. Trausch on 2009-07-23

I'm having a bit of trouble implementing the last feature for 0.7.4dev's release: Clicking the window manager's "Close" button and having it get the application to the system tray. Help on this would be very much appreciated.

The background: The way that the old AllTray did this was... well, there were _ways_, and some of them required configuration from the end-user. What I am looking for is a means to do this reliably for all window managers that are reasonably modern and follow the ICCCM (as well as applications that follow that same standard) and use the WM_DELETE_WINDOW message. It would seem that since WM_DELETE_WINDOW is an message sent in a ClientMessage event from X11, that it would simply be a matter of intercepting this event, but I cannot for the life of me figure out _how_ do to that. So, if anyone knows... tell me, show me, point me at the information, something? Please? Thanks!

Read all announcements