From: Tony Crisci Date: Fri, 6 May 2016 06:44:28 +0000 (-0400) Subject: Add the shutdown event (#2) X-Git-Tag: 4.14~14^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0940f7b9d19ec45f0b20e9cd585c889d4ba22e81;p=i3%2Fi3 Add the shutdown event (#2) The shutdown event is triggered when the ipc shuts down because of either a restart or when i3 exits. --- diff --git a/lib/AnyEvent/I3.pm b/lib/AnyEvent/I3.pm index 9f93519e..a8872d5d 100644 --- a/lib/AnyEvent/I3.pm +++ b/lib/AnyEvent/I3.pm @@ -114,6 +114,7 @@ my %events = ( window => ($event_mask | 3), barconfig_update => ($event_mask | 4), binding => ($event_mask | 5), + shutdown => ($event_mask | 6), _error => 0xFFFFFFFF, );