diff options
| author | Drew DeVault <sir@cmpwn.com> | 2019-01-10 21:53:32 -0500 | 
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2019-01-10 21:53:32 -0500 | 
| commit | d3d1437bc452fd2aa6c94feb9759928e8d07514d (patch) | |
| tree | 6aa930db52059d84078390d90f8ca29deaa967e5 /backend | |
| parent | 9921f9b28da1e34e9cbcd32a78ea72f62cd9a2d2 (diff) | |
| download | wlroots-d3d1437bc452fd2aa6c94feb9759928e8d07514d.tar.xz | |
Add wlr_wl_output_set_title
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/wayland/output.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/backend/wayland/output.c b/backend/wayland/output.c index f1eb73fd..a515374b 100644 --- a/backend/wayland/output.c +++ b/backend/wayland/output.c @@ -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); +} | 
