backend/wayland: introduce wlr_wl_output_set_app_id()

This commit is contained in:
Kirill Primak 2024-06-11 14:32:12 +03:00 committed by Simon Ser
parent bc82835756
commit f320df65e6
3 changed files with 37 additions and 1 deletions

View file

@ -91,6 +91,7 @@ struct wlr_wl_output {
struct wl_list presentation_feedbacks;
char *title;
char *app_id;
// 0 if not requested
int32_t requested_width, requested_height;

View file

@ -63,6 +63,11 @@ bool wlr_output_is_wl(struct wlr_output *output);
*/
void wlr_wl_output_set_title(struct wlr_output *output, const char *title);
/**
* Sets the app_id of a struct wlr_output which is a Wayland toplevel.
*/
void wlr_wl_output_set_app_id(struct wlr_output *output, const char *app_id);
/**
* Returns the remote struct wl_surface used by the Wayland output.
*/