diff options
| author | llyyr <llyyr.public@gmail.com> | 2025-01-11 18:49:20 +0530 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2025-01-26 14:41:11 +0100 |
| commit | 20b5362256372f291a437a7305b090000ebec0d0 (patch) | |
| tree | 0c569991fc540f01a86343c48fe3a492a89e1208 | |
| parent | d587da5ff8cf9f9646e52409d4e870e40a3c9616 (diff) | |
layer_shell: cleanup new_popup listener when destroying node
(cherry picked from commit 3629a832e5b3a73ccd4e42eca79943af121866da)
| -rw-r--r-- | sway/desktop/layer_shell.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c index 333c09b4..05faa465 100644 --- a/sway/desktop/layer_shell.c +++ b/sway/desktop/layer_shell.c @@ -256,6 +256,7 @@ static void handle_node_destroy(struct wl_listener *listener, void *data) { wl_list_remove(&layer->unmap.link); wl_list_remove(&layer->surface_commit.link); wl_list_remove(&layer->node_destroy.link); + wl_list_remove(&layer->new_popup.link); wl_list_remove(&layer->output_destroy.link); layer->layer_surface->data = NULL; |
