xserver/Xext/composite/compositeext_intern.h
Enrico Weigelt, metux IT consult 45c12c9e80 composite: fix prototype of compRedirectWindow()
It's returning int, not bool.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-10-14 12:22:58 +02:00

22 lines
801 B
C

/* SPDX-License-Identifier: X11 OR MIT OR AGPL-3.0-or-later
*
* Copyright © 2026 Enrico Weigelt, metux IT consult <info@metux.net>
*
* This header holds definitions that are only used within the composite
* extensions - other parts of the Xserver should never include it.
*/
#ifndef _XSERVER_COMPOSITEEXT_INTERN_H_
#define _XSERVER_COMPOSITEEXT_INTERN_H_
#include <stdbool.h>
#include "include/xlibre_ptrtypes.h"
bool compAllocPixmap(WindowPtr pWin);
bool compCheckRedirect(WindowPtr pWin);
bool compReallocPixmap(WindowPtr pWin, int x, int y, unsigned int w, unsigned int h, int bw);
bool compCreateOverlayWindow(ScreenPtr pScreen);
bool compScreenInit(ScreenPtr pScreen);
int compRedirectWindow(ClientPtr pClient, WindowPtr pWin, int update);
#endif /* _XSERVER_COMPOSITEEXT_INTERN_H_ */