Skip to content

Commit

Permalink
make all base events subscribable
Browse files Browse the repository at this point in the history
fixes #127
  • Loading branch information
Tony Crisci committed Sep 3, 2019
1 parent 672ca46 commit 652c30e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions i3ipc/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 652c30e

Please sign in to comment.