aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/workspace.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-07-24 14:31:38 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-07-24 14:31:38 -0400
commitc80258c3b394781c42cd4f2c161c705b2558c485 (patch)
treea79d913b95ac3024f3015899abc587d93a00afe1 /sway/tree/workspace.c
parentMerge branch 'master' into pid-workspaces (diff)
downloadsway-c80258c3b394781c42cd4f2c161c705b2558c485.tar.gz
sway-c80258c3b394781c42cd4f2c161c705b2558c485.tar.zst
sway-c80258c3b394781c42cd4f2c161c705b2558c485.zip
Address @emersion's review comments
Diffstat (limited to 'sway/tree/workspace.c')
-rw-r--r--sway/tree/workspace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c
index a93d9f44..b1082e4f 100644
--- a/sway/tree/workspace.c
+++ b/sway/tree/workspace.c
@@ -592,6 +592,8 @@ found:
592static void pw_handle_output_destroy(struct wl_listener *listener, void *data) { 592static void pw_handle_output_destroy(struct wl_listener *listener, void *data) {
593 struct pid_workspace *pw = wl_container_of(listener, pw, output_destroy); 593 struct pid_workspace *pw = wl_container_of(listener, pw, output_destroy);
594 pw->output = NULL; 594 pw->output = NULL;
595 wl_list_remove(&pw->output_destroy.link);
596 wl_list_init(&pw->output_destroy.link);
595} 597}
596 598
597void workspace_record_pid(pid_t pid) { 599void workspace_record_pid(pid_t pid) {