mirror of
https://github.com/swaywm/sway.git
synced 2024-11-30 03:41:27 +00:00
Address @emersion's review comments
This commit is contained in:
parent
f4b882475e
commit
c80258c3b3
|
@ -592,6 +592,8 @@ found:
|
||||||
static void pw_handle_output_destroy(struct wl_listener *listener, void *data) {
|
static void pw_handle_output_destroy(struct wl_listener *listener, void *data) {
|
||||||
struct pid_workspace *pw = wl_container_of(listener, pw, output_destroy);
|
struct pid_workspace *pw = wl_container_of(listener, pw, output_destroy);
|
||||||
pw->output = NULL;
|
pw->output = NULL;
|
||||||
|
wl_list_remove(&pw->output_destroy.link);
|
||||||
|
wl_list_init(&pw->output_destroy.link);
|
||||||
}
|
}
|
||||||
|
|
||||||
void workspace_record_pid(pid_t pid) {
|
void workspace_record_pid(pid_t pid) {
|
||||||
|
|
Loading…
Reference in a new issue