Add wlr_wl_output_set_title

This commit is contained in:
Drew DeVault 2019-01-10 21:53:32 -05:00
parent 9921f9b28d
commit d3d1437bc4
2 changed files with 12 additions and 3 deletions

View file

@ -365,3 +365,8 @@ error:
wlr_output_destroy(&output->wlr_output);
return NULL;
}
void wlr_wl_output_set_title(struct wlr_output *output, const char *title) {
struct wlr_wl_output *wl_output = get_wl_output_from_output(output);
xdg_toplevel_set_title(wl_output->xdg_toplevel, title);
}