]> git.sur5r.net Git - i3/i3/commit
Add the ipc shutdown event (#2652)
authorTony Crisci <tony@dubstepdish.com>
Sun, 22 Jan 2017 22:08:32 +0000 (17:08 -0500)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Sun, 22 Jan 2017 22:08:32 +0000 (14:08 -0800)
commit04dcf42397a7cf0e1284a2c6b16fb40c15af1f3e
treeab4ba8e0199f08bdb336969f0c6ed08909db0f2c
parent564945bc14b060bddb6437db6cbb8553f78e2d6a
Add the ipc shutdown event (#2652)

This event is triggered when the connection to the ipc is about to
shutdown because of a user action such as with a `restart` or `exit`
command. The `change` field indicates why the ipc is shutting down. It
can be either "restart" or "exit".

fixes #2318
docs/ipc
include/i3/ipc.h
include/ipc.h
src/commands.c
src/ipc.c
src/util.c
testcases/t/264-ipc-shutdown-event.t [new file with mode: 0644]