diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2024-04-17 15:36:06 +0200 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2024-04-23 11:14:31 +0200 |
commit | 12265aaa1c71df104f98619b0dec96aa3ba7a48d (patch) | |
tree | 94525afb052f8f8c20cb76bf4496e41ec615f4f8 | |
parent | 75cf29fe6c4728393ee0158360aaee512f2232d8 (diff) |
xwayland: Define MAX_OUTPUT_NAME in the header
So that other parts of the Xwayland code can use it.
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, 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; |