Advertisement

XEvent for a window closed

Started by May 10, 2006 10:56 PM
0 comments, last by Mare 18 years, 4 months ago
I'm programming under Xlib and wondering how to detect the event in which a window is closed, something equivalent to the WM_CLOSE message.
XDestroyWindowEvent should be what you are after, I haven't used it myself but should work fine if you are using a xevents loop somewhere and your window has the "DestroyNotify" mask set.

This topic is closed to new replies.

Advertisement