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>
(cherry picked from commit 12265aaa1c)

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1494>
This commit is contained in:
Olivier Fourdan 2024-04-17 15:36:06 +02:00
parent 4725674a23
commit 80af615ea9
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;