mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
wayland-surface: Destroy the right thing
data is the wl_client, which we don't want to destroy. Destroy our XdgShell pointer instead.
This commit is contained in:
parent
f27f6aab78
commit
d39baeb8ad
@ -1074,7 +1074,7 @@ static void
|
||||
xdg_shell_handle_client_destroy (struct wl_listener *listener, void *data)
|
||||
{
|
||||
XdgShell *xdg_shell = wl_container_of (listener, xdg_shell, client_destroy_listener);
|
||||
g_slice_free (XdgShell, data);
|
||||
g_slice_free (XdgShell, xdg_shell);
|
||||
}
|
||||
|
||||
static struct wl_resource *
|
||||
|
Loading…
Reference in New Issue
Block a user