From 78f4ab6b89fca3086b9c9471b40c11c23fbb6142 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 7 Jun 2006 14:12:40 -0700 Subject: [PATCH] Fix compiler warning about undefined ReinitializeRootWindow function --- hw/dmx/dmxextension.c | 3 --- include/dix.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) 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