diff --git a/mi/mi.h b/mi/mi.h index aa7e7fa02..f2c925fe8 100644 --- a/mi/mi.h +++ b/mi/mi.h @@ -127,12 +127,6 @@ extern _X_EXPORT RegionPtr miHandleExposures(DrawablePtr /*pSrcDrawable */ , int /*dsty */ ); -extern _X_EXPORT void miSendExposures(WindowPtr /*pWin */ , - RegionPtr /*pRgn */ , - int /*dx */ , - int /*dy */ - ); - extern _X_EXPORT void miWindowExposures(WindowPtr /*pWin */ , RegionPtr /*prgn */); diff --git a/mi/mi_priv.h b/mi/mi_priv.h index 43352b68c..56b3e985b 100644 --- a/mi/mi_priv.h +++ b/mi/mi_priv.h @@ -13,7 +13,9 @@ #include "include/events.h" #include "include/gc.h" #include "include/pixmap.h" +#include "include/regionstr.h" #include "include/screenint.h" +#include "include/window.h" #include "mi/mi.h" void miScreenClose(ScreenPtr pScreen); @@ -40,4 +42,6 @@ typedef void (*mieqHandler) (int screen, InternalEvent *event, DeviceIntPtr dev); void mieqSetHandler(int event, mieqHandler handler); +void miSendExposures(WindowPtr pWin, RegionPtr pRgn, int dx, int dy); + #endif /* _XSERVER_MI_PRIV_H */ diff --git a/mi/miexpose.c b/mi/miexpose.c index 7b13b034f..6490f35cc 100644 --- a/mi/miexpose.c +++ b/mi/miexpose.c @@ -74,10 +74,12 @@ Equipment Corporation. #include #include +#include #include #include #include "dix/dix_priv.h" +#include "mi/mi_priv.h" #include "misc.h" #include "regionstr.h" @@ -86,11 +88,7 @@ Equipment Corporation. #include "windowstr.h" #include "pixmap.h" #include "input.h" - #include "dixstruct.h" -#include "mi.h" -#include - #include "globals.h" #ifdef PANORAMIX diff --git a/miext/rootless/rootlessScreen.c b/miext/rootless/rootlessScreen.c index b57018242..ddb1cf607 100644 --- a/miext/rootless/rootlessScreen.c +++ b/miext/rootless/rootlessScreen.c @@ -37,8 +37,8 @@ #include #include "dix/colormap_priv.h" +#include "mi/mi_priv.h" -#include "mi.h" #include "scrnintstr.h" #include "gcstruct.h" #include "pixmapstr.h" diff --git a/miext/rootless/rootlessWindow.c b/miext/rootless/rootlessWindow.c index 68df06c89..7ba375f95 100644 --- a/miext/rootless/rootlessWindow.c +++ b/miext/rootless/rootlessWindow.c @@ -35,9 +35,11 @@ #include /* For CHAR_BIT */ #include #include + +#include "mi/mi_priv.h" + #ifdef __APPLE__ #include -#include "mi.h" #include "pixmapstr.h" #include "windowstr.h" //#include