dix: unexport IsParent()

Not used by any external drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-23 17:13:51 +02:00
parent 14dba35dac
commit abcd627d40
2 changed files with 10 additions and 4 deletions

View File

@ -544,4 +544,14 @@ void ScreenRestructured(ScreenPtr pScreen)
*/ */
int OtherClientGone(void *value, XID id); int OtherClientGone(void *value, XID id);
/*
* @brief check whether one window is parent of another
*
* @param parent the alleged parent
* @param child the alleged child
* @return TRUE if `child` is a child window of `parent`
*/
Bool IsParent(WindowPtr parent, WindowPtr child)
_X_ATTRIBUTE_NONNULL_ARG(1,2);
#endif /* _XSERVER_DIX_PRIV_H */ #endif /* _XSERVER_DIX_PRIV_H */

View File

@ -231,10 +231,6 @@ SetVendorRelease(int release);
/* events.c */ /* events.c */
extern _X_EXPORT Bool
IsParent(WindowPtr /* maybeparent */ ,
WindowPtr /* child */ );
extern _X_EXPORT void extern _X_EXPORT void
NoticeTime(const DeviceIntPtr dev, NoticeTime(const DeviceIntPtr dev,
TimeStamp time); TimeStamp time);