From: Tony Crisci Date: Fri, 6 May 2016 06:44:28 +0000 (-0400) Subject: Add the shutdown event (#2) X-Git-Tag: AnyEvent-0.17~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9559bae98845b69447564c994717dbe6b4f1e1c0;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, );