diff options
author | emersion <contact@emersion.fr> | 2019-01-12 00:13:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-12 00:13:54 +0100 |
commit | 8134d5b1e0b8c65f7c8b2e7ae626c1f2e5cbc9e1 (patch) | |
tree | 6aa930db52059d84078390d90f8ca29deaa967e5 /include | |
parent | 9921f9b28da1e34e9cbcd32a78ea72f62cd9a2d2 (diff) | |
parent | d3d1437bc452fd2aa6c94feb9759928e8d07514d (diff) |
Merge pull request #1459 from swaywm/wl-output-title
Add wlr_wl_output_set_title
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/backend/wayland.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/wlr/backend/wayland.h b/include/wlr/backend/wayland.h index 119ea247..9a47d1ce 100644 --- a/include/wlr/backend/wayland.h +++ b/include/wlr/backend/wayland.h @@ -1,6 +1,5 @@ #ifndef WLR_BACKEND_WAYLAND_H #define WLR_BACKEND_WAYLAND_H - #include <stdbool.h> #include <wayland-client.h> #include <wayland-server.h> @@ -16,8 +15,8 @@ * to NULL for the default behaviour (WAYLAND_DISPLAY env variable or wayland-0 * default) */ -struct wlr_backend *wlr_wl_backend_create(struct wl_display *display, const char *remote, - wlr_renderer_create_func_t create_renderer_func); +struct wlr_backend *wlr_wl_backend_create(struct wl_display *display, + const char *remote, wlr_renderer_create_func_t create_renderer_func); /** * Adds a new output to this backend. You may remove outputs by destroying them. @@ -42,4 +41,9 @@ bool wlr_input_device_is_wl(struct wlr_input_device *device); */ bool wlr_output_is_wl(struct wlr_output *output); +/** + * Sets the title of a wlr_output which is a Wayland window. + */ +void wlr_wl_output_set_title(struct wlr_output *output, const char *title); + #endif |