diff --git a/dix/dix_priv.h b/dix/dix_priv.h index 52cb31515..1b4a97a64 100644 --- a/dix/dix_priv.h +++ b/dix/dix_priv.h @@ -510,4 +510,14 @@ int DeliverEventsToWindow(DeviceIntPtr pDev, WindowPtr pWindow, xEventPtr pEvent */ extern CallbackListPtr RootWindowFinalizeCallback; +/* + * @brief do post actions necessary when window got a new cursor + * + * currently just for updating cursors on input devices + * + * @param pWindow window that just got a new cursor + */ +void WindowHasNewCursor(WindowPtr pWin) + _X_ATTRIBUTE_NONNULL_ARG(1); + #endif /* _XSERVER_DIX_PRIV_H */ diff --git a/include/dix.h b/include/dix.h index 98dc3c6d5..f0411fd7e 100644 --- a/include/dix.h +++ b/include/dix.h @@ -255,9 +255,6 @@ LastEventTimeToggleResetFlag(int deviceid, Bool state); extern _X_EXPORT void LastEventTimeToggleResetAll(Bool state); -extern _X_EXPORT void -WindowHasNewCursor(WindowPtr /* pWin */ ); - extern _X_EXPORT int OtherClientGone(void *value, XID id);