Add support for X11 WM_DELETE_WINDOW protocol