diff options
author | JiDe Zhang <zccrs@live.com> | 2023-09-08 21:36:56 +0800 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-10-06 10:04:11 +0200 |
commit | ca19014af011f5a6433fb6763fa1350c03a77f65 (patch) | |
tree | 88f3c8698a362bdfb53569132e25e5983a74df46 /include/wlr | |
parent | e58c7bb792adb6bd7fe24070648046bd3ffe8104 (diff) |
xwayland: fix double free wlr_xwayland_shell_v1
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/xwayland/shell.h | 1 | ||||
-rw-r--r-- | include/wlr/xwayland/xwayland.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/xwayland/shell.h b/include/wlr/xwayland/shell.h index 6cd3d93e..da5cb990 100644 --- a/include/wlr/xwayland/shell.h +++ b/include/wlr/xwayland/shell.h @@ -21,6 +21,7 @@ struct wlr_xwayland_shell_v1 { struct wl_global *global; struct { + struct wl_signal destroy; struct wl_signal new_surface; // struct wlr_xwayland_surface_v1 } events; diff --git a/include/wlr/xwayland/xwayland.h b/include/wlr/xwayland/xwayland.h index 6761eff0..68c8c0ac 100644 --- a/include/wlr/xwayland/xwayland.h +++ b/include/wlr/xwayland/xwayland.h @@ -49,6 +49,7 @@ struct wlr_xwayland { struct wl_listener server_ready; struct wl_listener server_destroy; struct wl_listener seat_destroy; + struct wl_listener shell_destroy; void *data; }; |