]> git.sur5r.net Git - i3/i3/commit
Handle _NET_CLOSE_WINDOW client message requests
authorTony Crisci <tony@dubstepdish.com>
Mon, 17 Nov 2014 02:10:48 +0000 (21:10 -0500)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 17 Nov 2014 08:08:42 +0000 (09:08 +0100)
commit8d031bfbf8a556ac664d15e7779d22a19882e32d
tree0b90fe5f07395a6b0dc9072431fbe1437ba86486
parentbb1f857b00e2e6a0fc6bb7d4b768e9f2ae37c730
Handle _NET_CLOSE_WINDOW client message requests

> Pagers wanting to close a window MUST send a _NET_CLOSE_WINDOW client
> message request to the root window.

We interpret this message as a request to close the con for the given
window.

See: http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#idm140200472668896

fixes #1396
include/atoms.xmacro
src/ewmh.c
src/handlers.c
testcases/t/239-net-close-window-request.t [new file with mode: 0644]