X-DestroyNotify-hook (1 arg)

This hook is invoked upon DestroyNotify X events.\n\ It indicates a window was destroyed. The hook procedures are\n\ invoked with one argument, WINID, the X id of the window that was destroyed. \n\ This hook is invoked for both the client window and the window frame\n\ IDs (i.e., twice per top-level window). You probably want to use\n\ window-close-hook or X-UnmapNotify-hook instead.