mirror of
https://github.com/brl/mutter.git
synced 2024-11-11 00:26:40 -05:00
wayland-surface: Properly destroy extension resources on the destroy request
Otherwise, the resource IDs will linger around and be destroyed again on client close...
This commit is contained in:
parent
a8632c2546
commit
f4fc498e65
@ -518,7 +518,7 @@ static void
|
||||
xdg_surface_destroy (struct wl_client *client,
|
||||
struct wl_resource *resource)
|
||||
{
|
||||
destroy_surface_extension (resource);
|
||||
wl_resource_destroy (resource);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -756,7 +756,7 @@ static void
|
||||
xdg_popup_destroy (struct wl_client *client,
|
||||
struct wl_resource *resource)
|
||||
{
|
||||
destroy_surface_extension (resource);
|
||||
wl_resource_destroy (resource);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user