diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2024-04-17 15:40:05 +0200 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2024-04-23 11:14:31 +0200 |
commit | 0cb4ec4dbd2ef8d94c05bd907bb3b53bdefba5f9 (patch) | |
tree | ff62e10a6f1618aed581cc53044be650235b385f | |
parent | 12265aaa1c71df104f98619b0dec96aa3ba7a48d (diff) |
xwayland: Make xwl_output_set_name() public
No functional change, this is preparation work for the next commit.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1492>
-rw-r--r-- | hw/xwayland/xwayland-output.c | 2 | ||||
-rw-r--r-- | hw/xwayland/xwayland-output.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/hw/xwayland/xwayland-output.c b/hw/xwayland/xwayland-output.c index 95f5d983b..2690fa0e3 100644 --- a/hw/xwayland/xwayland-output.c +++ b/hw/xwayland/xwayland-output.c @@ -683,7 +683,7 @@ apply_output_change(struct xwl_output *xwl_output) maybe_update_fullscreen_state(xwl_output); } -static void +void xwl_output_set_name(struct xwl_output *xwl_output, const char *name) { struct xwl_screen *xwl_screen = xwl_output->xwl_screen; diff --git a/hw/xwayland/xwayland-output.h b/hw/xwayland/xwayland-output.h index 773296026..5e070f90d 100644 --- a/hw/xwayland/xwayland-output.h +++ b/hw/xwayland/xwayland-output.h @@ -80,6 +80,8 @@ struct xwl_emulated_mode { Bool xwl_screen_init_output(struct xwl_screen *xwl_screen); +void xwl_output_set_name(struct xwl_output *xwl_output, const char *name); + Bool xwl_screen_init_randr_fixed(struct xwl_screen *xwl_screen); void |