[mutter/wayland] wayland-surface: Properly destroy extension resources on the destroy request
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] wayland-surface: Properly destroy extension resources on the destroy request
- Date: Wed, 20 Nov 2013 04:35:12 +0000 (UTC)
commit f4fc498e65f12e2b9fe01611f9e51e38eac60682
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Nov 19 23:33:46 2013 -0500
wayland-surface: Properly destroy extension resources on the destroy request
Otherwise, the resource IDs will linger around and be destroyed again
on client close...
src/wayland/meta-wayland-surface.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index f208da8..3d4b8f8 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]