mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
xwayland: fix double free wlr_xwayland_shell_v1
This commit is contained in:
parent
e58c7bb792
commit
ca19014af0
4 changed files with 15 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue