mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-03 03:24:39 +00:00
dix: unexport cursor allocation functions
These functions aren't used by external modules, so no need to export them. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1345>
This commit is contained in:
parent
4aadbeb8aa
commit
24f3c4a508
4 changed files with 37 additions and 32 deletions
|
|
@ -5,7 +5,11 @@
|
|||
#ifndef _XSERVER_DIX_CURSOR_PRIV_H
|
||||
#define _XSERVER_DIX_CURSOR_PRIV_H
|
||||
|
||||
#include <X11/X.h>
|
||||
#include <X11/Xmd.h>
|
||||
|
||||
#include "include/cursor.h"
|
||||
#include "include/dix.h"
|
||||
|
||||
extern CursorPtr rootCursor;
|
||||
|
||||
|
|
@ -14,4 +18,34 @@ CursorPtr RefCursor(CursorPtr cursor);
|
|||
CursorPtr UnrefCursor(CursorPtr cursor);
|
||||
int CursorRefCount(ConstCursorPtr cursor);
|
||||
|
||||
int AllocARGBCursor(unsigned char *psrcbits,
|
||||
unsigned char *pmaskbits,
|
||||
CARD32 *argb,
|
||||
CursorMetricPtr cm,
|
||||
unsigned foreRed,
|
||||
unsigned foreGreen,
|
||||
unsigned foreBlue,
|
||||
unsigned backRed,
|
||||
unsigned backGreen,
|
||||
unsigned backBlue,
|
||||
CursorPtr *ppCurs,
|
||||
ClientPtr client,
|
||||
XID cid);
|
||||
|
||||
int AllocGlyphCursor(Font source,
|
||||
unsigned int sourceChar,
|
||||
Font mask,
|
||||
unsigned int maskChar,
|
||||
unsigned foreRed,
|
||||
unsigned foreGreen,
|
||||
unsigned foreBlue,
|
||||
unsigned backRed,
|
||||
unsigned backGreen,
|
||||
unsigned backBlue,
|
||||
CursorPtr *ppCurs,
|
||||
ClientPtr client,
|
||||
XID cid);
|
||||
|
||||
CursorPtr CreateRootCursor(void);
|
||||
|
||||
#endif /* _XSERVER_DIX_CURSOR_PRIV_H */
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@ Equipment Corporation.
|
|||
#include <X11/fonts/libxfont2.h>
|
||||
|
||||
#include "dix/colormap_priv.h"
|
||||
#include "dix/cursor_priv.h"
|
||||
#include "dix/dix_priv.h"
|
||||
#include "dix/input_priv.h"
|
||||
#include "dix/gc_priv.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue