diff --git a/hw/dmx/dmxextension.c b/hw/dmx/dmxextension.c index 24f796954..efcaca457 100644 --- a/hw/dmx/dmxextension.c +++ b/hw/dmx/dmxextension.c @@ -374,9 +374,6 @@ void dmxUpdateScreenResources(ScreenPtr pScreen, int x, int y, int w, int h) #ifdef PANORAMIX #include "panoramiXsrv.h" -/* Defined in dix/events.c */ -extern void ReinitializeRootWindow(WindowPtr win, int xoff, int yoff); - /** Change the "screen" window attributes by resizing the actual window * on the back-end display (if necessary). */ static void dmxConfigureScreenWindow(int idx, diff --git a/include/dix.h b/include/dix.h index 9fc5b07b3..7a4f49d4a 100644 --- a/include/dix.h +++ b/include/dix.h @@ -694,6 +694,9 @@ extern int TryClientEvents( extern void WindowsRestructured(void); +#ifdef PANORAMIX +extern void ReinitializeRootWindow(WindowPtr win, int xoff, int yoff); +#endif #ifdef RANDR void