From 0cb4ec4dbd2ef8d94c05bd907bb3b53bdefba5f9 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Wed, 17 Apr 2024 15:40:05 +0200 Subject: [PATCH] xwayland: Make xwl_output_set_name() public No functional change, this is preparation work for the next commit. Signed-off-by: Olivier Fourdan Part-of: --- hw/xwayland/xwayland-output.c | 2 +- hw/xwayland/xwayland-output.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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