I want to receive a message from xserver when I close my window. (when I hit the \'X\' button\')
For example, I have a list of windows that are currently opened