aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-01-12 00:13:54 +0100
committerGitHub <noreply@github.com>2019-01-12 00:13:54 +0100
commit8134d5b1e0b8c65f7c8b2e7ae626c1f2e5cbc9e1 (patch)
tree6aa930db52059d84078390d90f8ca29deaa967e5 /backend
parent9921f9b28da1e34e9cbcd32a78ea72f62cd9a2d2 (diff)
parentd3d1437bc452fd2aa6c94feb9759928e8d07514d (diff)
Merge pull request #1459 from swaywm/wl-output-title
Add wlr_wl_output_set_title
Diffstat (limited to 'backend')
-rw-r--r--backend/wayland/output.c5
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);
+}