libweston/input: Remove redundant surface destroy listener in constraints

Currently, the surface destroy listener in pointer constraints is redundant,
since surface destruction already handles pointer constraints destruction (see
libweston/compositor.c:weston_surface_unref()).

Signed-off-by: Sergio Gómez <sergio.g.delreal@gmail.com>
(cherry picked from commit 64da736d37a7df8b3bd6fd43746ac513bae72748)
This commit is contained in:
Sergio Gómez
2023-03-08 17:36:34 -05:00
committed by Marius Vlad
parent ff13a90eea
commit 0bd68d9ad6
2 changed files with 0 additions and 18 deletions
-1
View File
@@ -1605,7 +1605,6 @@ struct weston_pointer_constraint {
bool hint_is_pending;
struct wl_listener pointer_destroy_listener;
struct wl_listener surface_destroy_listener;
struct wl_listener surface_commit_listener;
struct wl_listener surface_activate_listener;
};