diff --git a/dix/dix_priv.h b/dix/dix_priv.h index a5339c0a6..f59922374 100644 --- a/dix/dix_priv.h +++ b/dix/dix_priv.h @@ -527,4 +527,12 @@ void WindowHasNewCursor(WindowPtr pWin) */ void WindowsRestructured(void); +/* + * @brief do post actions necessary whn screens have been restructured + * + * currently eg. fixing up cursors and their confinements (randr) + */ +void ScreenRestructured(ScreenPtr pScreen) + _X_ATTRIBUTE_NONNULL_ARG(1); + #endif /* _XSERVER_DIX_PRIV_H */ diff --git a/include/dix.h b/include/dix.h index 646dbd409..e1750313f 100644 --- a/include/dix.h +++ b/include/dix.h @@ -270,11 +270,6 @@ PickPointer(ClientPtr /* client */ ); extern _X_EXPORT DeviceIntPtr PickKeyboard(ClientPtr /* client */ ); -#ifdef RANDR -extern _X_EXPORT void -ScreenRestructured(ScreenPtr pScreen); -#endif - /* * ServerGrabCallback stuff */