From 12265aaa1c71df104f98619b0dec96aa3ba7a48d Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Wed, 17 Apr 2024 15:36:06 +0200 Subject: xwayland: Define MAX_OUTPUT_NAME in the header So that other parts of the Xwayland code can use it. Signed-off-by: Olivier Fourdan Part-of: --- hw/xwayland/xwayland-output.c | 2 -- hw/xwayland/xwayland-output.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xwayland/xwayland-output.c b/hw/xwayland/xwayland-output.c index 7449ba193..95f5d983b 100644 --- a/hw/xwayland/xwayland-output.c +++ b/hw/xwayland/xwayland-output.c @@ -39,8 +39,6 @@ #include "xdg-output-unstable-v1-client-protocol.h" -#define MAX_OUTPUT_NAME 256 - static void xwl_output_get_xdg_output(struct xwl_output *xwl_output); static Rotation diff --git a/hw/xwayland/xwayland-output.h b/hw/xwayland/xwayland-output.h index 0e5ee6b55..773296026 100644 --- a/hw/xwayland/xwayland-output.h +++ b/hw/xwayland/xwayland-output.h @@ -43,6 +43,8 @@ RR_Reflect_X | \ RR_Reflect_Y) +#define MAX_OUTPUT_NAME 256 + struct xwl_output { struct xorg_list link; struct xwl_screen *xwl_screen; -- cgit v1.2.3