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>
(cherry picked from commit 12265aaa1c)
This commit is contained in:
Olivier Fourdan 2024-04-17 15:36:06 +02:00 committed by Alan Coopersmith
parent 709a6719dd
commit c5f4f54869
2 changed files with 2 additions and 2 deletions

View file

@ -37,8 +37,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

View file

@ -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;