ext-foreign-toplevel-list: add _from_resource()

This commit is contained in:
Kirill Primak 2024-10-01 15:42:06 +03:00
parent 3da6fac1f2
commit ab118042ea
2 changed files with 10 additions and 0 deletions

View file

@ -64,4 +64,7 @@ void wlr_ext_foreign_toplevel_handle_v1_update_state(
struct wlr_ext_foreign_toplevel_handle_v1 *toplevel,
const struct wlr_ext_foreign_toplevel_handle_v1_state *state);
struct wlr_ext_foreign_toplevel_handle_v1 *wlr_ext_foreign_toplevel_handle_v1_from_resource(
struct wl_resource *resource);
#endif