MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / handle_surface_destroy

Function handle_surface_destroy

plugins/protocols/wayfire-shell.cpp:407–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407static void handle_surface_destroy(wl_resource *resource)
408{
409 auto surface = (wfs_surface*)wl_resource_get_user_data(resource);
410 delete surface;
411 wl_resource_set_user_data(resource, nullptr);
412}
413
414static void zwf_shell_manager_get_wf_output(wl_client *client,
415 wl_resource *resource, wl_resource *output, uint32_t id)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected