mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Add wlr_wl_output_set_title
This commit is contained in:
parent
9921f9b28d
commit
d3d1437bc4
2 changed files with 12 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue