mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
compositor: drop wlr_surface_destroy_role_object()
This function is now unnecessary.
This commit is contained in:
parent
bd5c4f4a4a
commit
72787db98a
2 changed files with 6 additions and 12 deletions
|
|
@ -251,18 +251,11 @@ bool wlr_surface_set_role(struct wlr_surface *surface, const struct wlr_surface_
|
|||
* Set the role object for this surface. The surface must have a role and
|
||||
* no already set role object.
|
||||
*
|
||||
* wlr_surface_destroy_role_object() is called when the resource is destroyed.
|
||||
* When the resource is destroyed, the surface is unmapped,
|
||||
* wlr_surface_role.destroy is called and the role object is unset.
|
||||
*/
|
||||
void wlr_surface_set_role_object(struct wlr_surface *surface, struct wl_resource *role_resource);
|
||||
|
||||
/**
|
||||
* Destroy the object representing the surface's role. If it doesn't exist,
|
||||
* this function is no-op.
|
||||
*
|
||||
* This doesn't reset the surface role itself.
|
||||
*/
|
||||
void wlr_surface_destroy_role_object(struct wlr_surface *surface);
|
||||
|
||||
/**
|
||||
* Map the surface. If the surface is already mapped, this is no-op.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue