mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
backend/wayland: introduce wlr_wl_output_set_app_id()
This commit is contained in:
parent
bc82835756
commit
f320df65e6
3 changed files with 37 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue