Skip to content

Commit 51bfb20

Browse files
committed
rebase devPrivates include
1 parent fe360d8 commit 51bfb20

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nx-X11/programs/Xserver/include/cursorstr.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ typedef struct _CursorBits {
7171
#endif
7272
} CursorBits, *CursorBitsPtr;
7373

74+
#define CURSOR_BITS_SIZE (sizeof(CursorBits) + dixPrivatesSize(PRIVATE_CURSOR_BITS))
75+
7476
typedef struct _Cursor {
7577
CursorBitsPtr bits;
7678
unsigned short foreRed, foreGreen, foreBlue; /* device-independent color */
@@ -83,6 +85,8 @@ typedef struct _Cursor {
8385
#endif
8486
} CursorRec;
8587

88+
#define CURSOR_REC_SIZE (sizeof(CursorRec) + dixPrivatesSize(PRIVATE_CURSOR))
89+
8690
typedef struct _CursorMetric {
8791
unsigned short width, height, xhot, yhot;
8892
} CursorMetricRec;

0 commit comments

Comments
 (0)