diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-02-29 14:35:48 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-09-02 16:43:29 +0000 |
commit | 6c7c4fdc7ee3e63f15caa4d2e1787d6fa747729f (patch) | |
tree | a2511530d3786747307133aac775abb38dfede77 /include | |
parent | eb81769b58815719b806208d05d4e91949e41084 (diff) |
dix: drop superfluous XineramaGetCursorScreen()
It's only used for record extension, no external callers, thus doesn't
need to be exported. Since it's just for retrieving one struct value,
it's not needed at all - we can do this directly (just like we do in
many other places)
Note: the check on noPanoramixExtensions is superfluous, since the only
call site already does it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1345>
Diffstat (limited to 'include')
-rw-r--r-- | include/cursor.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/cursor.h b/include/cursor.h index 7167f4707..50796d047 100644 --- a/include/cursor.h +++ b/include/cursor.h @@ -57,8 +57,6 @@ SOFTWARE. /* Provide support for alpha composited cursors */ #define ARGB_CURSOR -struct _DeviceIntRec; - typedef struct _Cursor *CursorPtr; // FUN FACT: If you typedef a pointer type, like the `CursorPtr` above // then `const CursorPtr` or `CursorPtr const` actually means `struct _Cursor *const`, a constant pointer @@ -70,8 +68,4 @@ typedef struct _CursorMetric *CursorMetricPtr; extern _X_EXPORT int FreeCursor(void *pCurs, XID cid); -#ifdef PANORAMIX -extern _X_EXPORT int XineramaGetCursorScreen(struct _DeviceIntRec *pDev); -#endif /* PANORAMIX */ - #endif /* CURSOR_H */ |