mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
include: unexport CURSOR_BITS_SIZE() and CURSOR_REC_SIZE() macros
Not used by any drivers, so no need to keep them public. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
5f8edd4560
commit
037a2e5675
@@ -16,6 +16,9 @@
|
||||
#include "include/input.h"
|
||||
#include "include/window.h"
|
||||
|
||||
#define CURSOR_BITS_SIZE (sizeof(CursorBits) + (size_t)dixPrivatesSize(PRIVATE_CURSOR_BITS))
|
||||
#define CURSOR_REC_SIZE (sizeof(CursorRec) + (size_t)dixPrivatesSize(PRIVATE_CURSOR))
|
||||
|
||||
extern CursorPtr rootCursor;
|
||||
|
||||
/* reference counting */
|
||||
|
||||
@@ -67,8 +67,6 @@ typedef struct _CursorBits {
|
||||
CARD32 *argb; /* full-color alpha blended */
|
||||
} CursorBits, *CursorBitsPtr;
|
||||
|
||||
#define CURSOR_BITS_SIZE (sizeof(CursorBits) + (size_t)dixPrivatesSize(PRIVATE_CURSOR_BITS))
|
||||
|
||||
typedef struct _Cursor {
|
||||
CursorBitsPtr bits;
|
||||
unsigned short foreRed, foreGreen, foreBlue; /* device-independent color */
|
||||
@@ -80,8 +78,6 @@ typedef struct _Cursor {
|
||||
Atom name;
|
||||
} CursorRec;
|
||||
|
||||
#define CURSOR_REC_SIZE (sizeof(CursorRec) + (size_t)dixPrivatesSize(PRIVATE_CURSOR))
|
||||
|
||||
typedef struct _CursorMetric {
|
||||
unsigned short width, height, xhot, yhot;
|
||||
} CursorMetricRec;
|
||||
|
||||
Reference in New Issue
Block a user