mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
session-lock: add missing lock_surface_destroy
Add the missing lock_surface_destroy which was removed in dc7686c114
("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.
This commit is contained in:
parent
f3cf830e9a
commit
63f5851b6f
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ static void lock_surface_role_destroy(struct wlr_surface *surface) {
|
||||||
if (lock_surface == NULL) {
|
if (lock_surface == NULL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
lock_surface_destroy(lock_surface);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct wlr_surface_role lock_surface_role = {
|
static const struct wlr_surface_role lock_surface_role = {
|
||||||
|
|
Loading…
Reference in a new issue