From d3d1437bc452fd2aa6c94feb9759928e8d07514d Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 10 Jan 2019 21:53:32 -0500 Subject: Add wlr_wl_output_set_title --- backend/wayland/output.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'backend') 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); +} -- cgit v1.2.3