summaryrefslogtreecommitdiff
path: root/uxa/uxa-priv.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-04-17 13:54:47 -0700
committerEric Anholt <eric@anholt.net>2009-04-27 16:50:34 -0700
commit47591334a183881704a121ae06ebc2fadebe6f73 (patch)
treef8a12d3582f9b172d09e7b800752e53189f4a4ca /uxa/uxa-priv.h
parent3187c7698b93f1d0e07798e9c42ca2877d55e055 (diff)
Remove pre-server-1.5 support.
Diffstat (limited to 'uxa/uxa-priv.h')
-rw-r--r--uxa/uxa-priv.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/uxa/uxa-priv.h b/uxa/uxa-priv.h
index 3b3a3501..3d2b7764 100644
--- a/uxa/uxa-priv.h
+++ b/uxa/uxa-priv.h
@@ -139,10 +139,6 @@ typedef struct {
CloseScreenProcPtr SavedCloseScreen;
GetImageProcPtr SavedGetImage;
GetSpansProcPtr SavedGetSpans;
-#ifndef SERVER_1_5
- PaintWindowBackgroundProcPtr SavedPaintWindowBackground;
- PaintWindowBorderProcPtr SavedPaintWindowBorder;
-#endif
CreatePixmapProcPtr SavedCreatePixmap;
DestroyPixmapProcPtr SavedDestroyPixmap;
CopyWindowProcPtr SavedCopyWindow;
@@ -181,12 +177,8 @@ extern int uxa_screen_index;
static inline uxa_screen_t *
uxa_get_screen(ScreenPtr screen)
{
-#ifdef SERVER_1_5
return (uxa_screen_t *)dixLookupPrivate(&screen->devPrivates,
&uxa_screen_index);
-#else
- return screen->devPrivates[uxa_screen_index].ptr;
-#endif
}
/** Align an offset to an arbitrary alignment */