add support for _NET_CLOSE_WINDOW

This commit is contained in:
okan
2013-05-19 17:05:52 +00:00
parent 556a50d8f7
commit c84145661e
3 changed files with 5 additions and 0 deletions

View File

@@ -348,6 +348,9 @@ xev_handle_clientmessage(XEvent *ee)
if (e->message_type == cwmh[WM_CHANGE_STATE].atom &&
e->format == 32 && e->data.l[0] == IconicState)
client_hide(cc);
if (e->message_type == ewmh[_NET_CLOSE_WINDOW].atom)
client_send_delete(cc);
}
static void