summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-06-07 14:12:40 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-07 14:12:40 -0700
commit78f4ab6b89fca3086b9c9471b40c11c23fbb6142 (patch)
tree34ec0ddfd95ed007d3f840c408138d84946041f9
parent757f40fca50a99377e437949ee77b983c8cd6087 (diff)
Fix compiler warning about undefined ReinitializeRootWindow function
-rw-r--r--hw/dmx/dmxextension.c3
-rw-r--r--include/dix.h3
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