mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-15 14:42:26 +00:00
shell: Don't remove grab listener if surface was destroyed
This commit is contained in:
parent
3f79d661a1
commit
47b5dca409
|
@ -231,6 +231,7 @@ shell_grab_init(struct shell_grab *grab,
|
|||
static void
|
||||
shell_grab_finish(struct shell_grab *grab)
|
||||
{
|
||||
if (grab->shsurf)
|
||||
wl_list_remove(&grab->shsurf_destroy_listener.link);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue