diff options
author | Ryan Dwyer <RyanDwyer@users.noreply.github.com> | 2018-06-26 22:51:38 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-26 22:51:38 +1000 |
commit | af0f0375ef9aefb1d53e2058ec2f4cf51ee287a5 (patch) | |
tree | 14be83d7e63450352c85e9723977c5f1001ae3c7 /include | |
parent | 59086fabbfaa545641827b0e181100027de08205 (diff) | |
parent | 6856866a612c9f0708a42cbe6d9627173d9e3569 (diff) |
Merge pull request #2163 from martinetd/use-after-free
layer shell: fix some use after free on destroy
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/output.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index 70f746dc..8180ce3d 100644 --- a/include/sway/output.h +++ b/include/sway/output.h @@ -32,6 +32,10 @@ struct sway_output { struct wl_list link; pid_t bg_pid; + + struct { + struct wl_signal destroy; + } events; }; void output_damage_whole(struct sway_output *output); |