Add the shutdown event (#2)

The shutdown event is triggered when the ipc shuts down because of
either a restart or when i3 exits.
This commit is contained in:
Tony Crisci 2016-05-06 02:44:28 -04:00 committed by Michael Stapelberg
parent 538c50c8ef
commit 0940f7b9d1
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ my %events = (
window => ($event_mask | 3), window => ($event_mask | 3),
barconfig_update => ($event_mask | 4), barconfig_update => ($event_mask | 4),
binding => ($event_mask | 5), binding => ($event_mask | 5),
shutdown => ($event_mask | 6),
_error => 0xFFFFFFFF, _error => 0xFFFFFFFF,
); );