]> git.sur5r.net Git - i3/i3/commitdiff
Add the shutdown event (#2)
authorTony Crisci <tony@dubstepdish.com>
Fri, 6 May 2016 06:44:28 +0000 (02:44 -0400)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Fri, 6 May 2016 06:44:28 +0000 (08:44 +0200)
The shutdown event is triggered when the ipc shuts down because of
either a restart or when i3 exits.

lib/AnyEvent/I3.pm

index 9f93519ebc45a766523997a1507f57ab473f9368..a8872d5d07afaa751fe6d3787daf02f24f7083f8 100644 (file)
@@ -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,
 );