From 0940f7b9d19ec45f0b20e9cd585c889d4ba22e81 Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Fri, 6 May 2016 02:44:28 -0400 Subject: [PATCH] Add the shutdown event (#2) The shutdown event is triggered when the ipc shuts down because of either a restart or when i3 exits. --- lib/AnyEvent/I3.pm | 1 + 1 file changed, 1 insertion(+) 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, ); -- 2.39.5