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>
This commit is contained in:
Olivier Fourdan 2024-04-17 15:36:06 +02:00
parent 75cf29fe6c
commit 12265aaa1c
2 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,6 @@
#include "xdg-output-unstable-v1-client-protocol.h" #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 void xwl_output_get_xdg_output(struct xwl_output *xwl_output);
static Rotation static Rotation

View File

@ -43,6 +43,8 @@
RR_Reflect_X | \ RR_Reflect_X | \
RR_Reflect_Y) RR_Reflect_Y)
#define MAX_OUTPUT_NAME 256
struct xwl_output { struct xwl_output {
struct xorg_list link; struct xorg_list link;
struct xwl_screen *xwl_screen; struct xwl_screen *xwl_screen;