composite: move out unexported CompositeIsImplicitRedirectException()

Move out non-exported stuff from public module header compositeext.h,
into compositeext_priv.h

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1284>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-02-08 18:59:23 +01:00 committed by Marge Bot
parent 5b2c00d38a
commit 06685cabde
4 changed files with 20 additions and 2 deletions

View File

@ -41,8 +41,7 @@ extern _X_EXPORT Bool CompositeRegisterImplicitRedirectionException(ScreenPtr pS
extern _X_EXPORT Bool compIsAlternateVisual(ScreenPtr pScreen, XID visual);
Bool CompositeIsImplicitRedirectException(ScreenPtr pScreen,
XID parentVisual, XID winVisual);
extern _X_EXPORT RESTYPE CompositeClientWindowType;
#endif /* _COMPOSITEEXT_H_ */

View File

@ -0,0 +1,17 @@
/* SPDX-License-Identifier: MIT OR X11
*
* Copyright © 1987, 1998 The Open Group
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
*/
#ifndef _XSERVER_COMPOSITEEXT_PRIV_H_
#define _XSERVER_COMPOSITEEXT_PRIV_H_
#include <X11/X.h>
typedef struct _Screen *ScreenPtr;
Bool CompositeIsImplicitRedirectException(ScreenPtr pScreen,
XID parentVisual,
XID winVisual);
#endif /* _XSERVER_COMPOSITEEXT_PRIV_H_ */

View File

@ -46,6 +46,7 @@
#endif
#include "compint.h"
#include "compositeext_priv.h"
#ifdef PANORAMIX
#include "panoramiXsrv.h"

View File

@ -26,6 +26,7 @@
#include <xwayland-config.h>
#include <compositeext.h>
#include "compositeext_priv.h"
#define MESA_EGL_NO_X11_HEADERS
#define EGL_NO_X11