XEvent for a window closed
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
Popular Topics
Advertisement
Recommended Tutorials
Advertisement