mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 11:55:59 +01:00
Add todo for destroy_xdg_shell_surface
This free was causing crashes so remove the implementation and make a note to do it later.
This commit is contained in:
parent
a6c7d8d14f
commit
bdfe9faf58
1 changed files with 2 additions and 2 deletions
|
@ -101,8 +101,8 @@ static void xdg_surface_destroy(struct wl_client *client,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void destroy_xdg_shell_surface(struct wl_resource *resource) {
|
static void destroy_xdg_shell_surface(struct wl_resource *resource) {
|
||||||
struct xdg_surface_state *state = wl_resource_get_user_data(resource);
|
wlr_log(L_DEBUG, "TODO destroy xdg shell surface");
|
||||||
free(state);
|
//struct xdg_surface_state *state = wl_resource_get_user_data(resource);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void xdg_surface_get_toplevel(struct wl_client *client,
|
static void xdg_surface_get_toplevel(struct wl_client *client,
|
||||||
|
|
Loading…
Reference in a new issue