diff options
author | Rouven Czerwinski <rouven@czerwinskis.de> | 2023-07-21 18:56:14 +0200 |
---|---|---|
committer | Rouven Czerwinski <rouven@czerwinskis.de> | 2023-07-21 18:56:14 +0200 |
commit | 63f5851b6fdc630355510c44e875119c4755208d (patch) | |
tree | 42ec3ab1a6fc3b55c83e6feb853508acc126e4de | |
parent | f3cf830e9aadff5b48d4ae0eca0de360fbea3ee5 (diff) |
session-lock: add missing lock_surface_destroy
Add the missing lock_surface_destroy which was removed in dc7686c114f8
("session-lock: don't remove inert role resource"). Otherwise we never
remove the surface from our internal state, leading to us killing the
locking daemon with a protocol error that is totally our fault.
-rw-r--r-- | types/wlr_session_lock_v1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/types/wlr_session_lock_v1.c b/types/wlr_session_lock_v1.c index 10e888fe..4b8a69ad 100644 --- a/types/wlr_session_lock_v1.c +++ b/types/wlr_session_lock_v1.c @@ -189,6 +189,7 @@ static void lock_surface_role_destroy(struct wlr_surface *surface) { if (lock_surface == NULL) { return; } + lock_surface_destroy(lock_surface); } static const struct wlr_surface_role lock_surface_role = { |