We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe360d8 commit 51bfb20Copy full SHA for 51bfb20
nx-X11/programs/Xserver/include/cursorstr.h
@@ -71,6 +71,8 @@ typedef struct _CursorBits {
71
#endif
72
} CursorBits, *CursorBitsPtr;
73
74
+#define CURSOR_BITS_SIZE (sizeof(CursorBits) + dixPrivatesSize(PRIVATE_CURSOR_BITS))
75
+
76
typedef struct _Cursor {
77
CursorBitsPtr bits;
78
unsigned short foreRed, foreGreen, foreBlue; /* device-independent color */
@@ -83,6 +85,8 @@ typedef struct _Cursor {
83
85
84
86
} CursorRec;
87
88
+#define CURSOR_REC_SIZE (sizeof(CursorRec) + dixPrivatesSize(PRIVATE_CURSOR))
89
90
typedef struct _CursorMetric {
91
unsigned short width, height, xhot, yhot;
92
} CursorMetricRec;
0 commit comments