summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fourdan <ofourdan@redhat.com>2024-04-17 15:40:05 +0200
committerOlivier Fourdan <ofourdan@redhat.com>2024-05-02 10:16:41 +0200
commit158246a0afac943cdf30adf06caf73279f025187 (patch)
tree213aafd57770fed7ea0dab03bf2571ab6f3bd755
parent80af615ea946fb5726074467fef432941a9deecc (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> (cherry picked from commit 0cb4ec4dbd2ef8d94c05bd907bb3b53bdefba5f9) Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1494>
-rw-r--r--hw/xwayland/xwayland-output.c2
-rw-r--r--hw/xwayland/xwayland-output.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/hw/xwayland/xwayland-output.c b/hw/xwayland/xwayland-output.c
index fb8148cdf..f318cd57b 100644
--- a/hw/xwayland/xwayland-output.c
+++ b/hw/xwayland/xwayland-output.c
@@ -681,7 +681,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