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:
committed by
Marius Vlad
parent
ff13a90eea
commit
0bd68d9ad6
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user