From 652c30e685db1f863eaeef96b394140947ebfded Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Mon, 2 Sep 2019 20:38:23 -0400 Subject: [PATCH] make all base events subscribable fixes #127 --- i3ipc/events.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/i3ipc/events.py b/i3ipc/events.py index 797ad0e..606cc4a 100644 --- a/i3ipc/events.py +++ b/i3ipc/events.py @@ -45,10 +45,7 @@ class Event(Enum): INPUT_REMOVED = 'input::removed' -Event._subscribable_events = [ - Event.WORKSPACE, Event.OUTPUT, Event.MODE, Event.WINDOW, Event.BARCONFIG_UPDATE, Event.BINDING, - Event.SHUTDOWN, Event.TICK -] +Event._subscribable_events = [ e for e in Event if '::' not in e.value ] class WorkspaceEvent(IpcBaseEvent):