diff options
Diffstat (limited to 'mi/miscrinit.c')
-rw-r--r-- | mi/miscrinit.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mi/miscrinit.c b/mi/miscrinit.c index 9c6af0dc7..f38298266 100644 --- a/mi/miscrinit.c +++ b/mi/miscrinit.c @@ -124,6 +124,12 @@ miCloseScreen(ScreenPtr pScreen) return ((*pScreen->DestroyPixmap) ((PixmapPtr) pScreen->devPrivate)); } +static Bool +miSaveScreen(ScreenPtr pScreen, int on) +{ + return TRUE; +} + /* With the introduction of pixmap privates, the "screen pixmap" can no * longer be created in miScreenInit, since all the modules that could * possibly ask for pixmap private space have not been initialized at @@ -242,7 +248,9 @@ miScreenInit(ScreenPtr pScreen, void *pbits, /* pointer to screen bits */ pScreen->CloseScreen = miCloseScreen; } /* else CloseScreen */ - /* QueryBestSize, SaveScreen, GetImage, GetSpans */ + /* QueryBestSize */ + pScreen->SaveScreen = miSaveScreen; + /* GetImage, GetSpans */ pScreen->SourceValidate = (SourceValidateProcPtr) 0; /* CreateWindow, DestroyWindow, PositionWindow, ChangeWindowAttributes */ /* RealizeWindow, UnrealizeWindow */ |