WM_DELETE_WINDOW should check that the event message_type is WM_PROTOCOLS.
This commit is contained in:
parent
9baa49f61c
commit
d7d06ad754
3 changed files with 4 additions and 1 deletions
|
@ -370,6 +370,7 @@ X11_VideoInit(_THIS)
|
|||
|
||||
/* Look up some useful Atoms */
|
||||
#define GET_ATOM(X) data->X = XInternAtom(data->display, #X, False)
|
||||
GET_ATOM(WM_PROTOCOLS);
|
||||
GET_ATOM(WM_DELETE_WINDOW);
|
||||
GET_ATOM(_NET_WM_STATE);
|
||||
GET_ATOM(_NET_WM_STATE_HIDDEN);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue