mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-19 06:59:48 -05:00
xwayland/xwm: listen shell destroy signal
Otherwise we got invaild write in wl_list_remove. Fixes:e209fe2d0("Fix memory leak in xwayland.c") Signed-off-by: zhoulei <zhoulei@kylinos.cn> (cherry picked from commit2c64f36e88)
This commit is contained in:
parent
4900daa787
commit
0992422493
2 changed files with 15 additions and 0 deletions
|
|
@ -135,6 +135,7 @@ struct wlr_xwm {
|
|||
struct wl_listener compositor_new_surface;
|
||||
struct wl_listener compositor_destroy;
|
||||
struct wl_listener shell_v1_new_surface;
|
||||
struct wl_listener shell_v1_destroy;
|
||||
struct wl_listener seat_set_selection;
|
||||
struct wl_listener seat_set_primary_selection;
|
||||
struct wl_listener seat_start_drag;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue