diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2023-04-15 09:01:42 +0200 |
---|---|---|
committer | Philipp Zabel <philipp.zabel@gmail.com> | 2023-04-15 09:13:21 +0200 |
commit | 5dd796e447f4613475f18e7e4e2f8099fd0ceca8 (patch) | |
tree | 4b268e797df19e290ce440fd36d99cec9c75599f | |
parent | eb2a12a92ca54a60ca88a5b3fa0521982a83a5ac (diff) | |
download | weston-5dd796e447f4613475f18e7e4e2f8099fd0ceca8.tar.gz |
backend-vnc: remove output move listener leftovers
The output move listener removal was incomplete. Remove the remaining
bits to fix a segfault on shutdown.
Fixes: 40f5eaf401f0 ("backend-vnc: use output power_state to disable repainting while disconnected")
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
-rw-r--r-- | libweston/backend-vnc/vnc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libweston/backend-vnc/vnc.c b/libweston/backend-vnc/vnc.c index 5da893d3..9b22f59c 100644 --- a/libweston/backend-vnc/vnc.c +++ b/libweston/backend-vnc/vnc.c @@ -65,7 +65,6 @@ struct vnc_backend { struct weston_compositor *compositor; struct weston_log_scope *debug; struct vnc_output *output; - struct wl_listener output_move_listener; struct xkb_rule_names xkb_rule_name; struct xkb_keymap *xkb_keymap; @@ -822,8 +821,6 @@ vnc_destroy(struct weston_backend *base) struct weston_compositor *ec = backend->compositor; struct weston_head *head, *next; - wl_list_remove(&backend->output_move_listener.link); - nvnc_close(backend->server); weston_compositor_shutdown(ec); |