Skip to content

Commit b0e4d66

Browse files
committed
Merge branch 'missing_workspace_changes' of https://github.com/wawe/i3ipc-rs into wawe-missing_workspace_changes
2 parents 118d891 + 94586c2 commit b0e4d66

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/event.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ impl FromStr for WorkspaceEventInfo {
4141
"init" => WorkspaceChange::Init,
4242
"empty" => WorkspaceChange::Empty,
4343
"urgent" => WorkspaceChange::Urgent,
44+
"rename" => WorkspaceChange::Rename,
45+
"reload" => WorkspaceChange::Reload,
46+
"move" => WorkspaceChange::Move,
47+
"restored" => WorkspaceChange::Restored,
4448
other => {
4549
warn!(target: "i3ipc", "Unknown WorkspaceChange {}", other);
4650
WorkspaceChange::Unknown
@@ -212,6 +216,10 @@ pub mod inner {
212216
Init,
213217
Empty,
214218
Urgent,
219+
Rename,
220+
Reload,
221+
Restored,
222+
Move,
215223
/// A WorkspaceChange we don't support yet.
216224
Unknown,
217225
}

0 commit comments

Comments
 (0)