Commit 4791f8e2 authored by Adam Jackson's avatar Adam Jackson 🎧

staticize mi{G,S}etScreenPixmap

parent 14d98b4a
......@@ -189,6 +189,19 @@ miScreenDevPrivateInit(ScreenPtr pScreen, int width, pointer pbits)
return TRUE;
}
static PixmapPtr
miGetScreenPixmap(ScreenPtr pScreen)
{
return (PixmapPtr)(pScreen->devPrivate);
}
static void
miSetScreenPixmap(PixmapPtr pPix)
{
if (pPix)
pPix->drawable.pScreen->devPrivate = (pointer)pPix;
}
_X_EXPORT Bool
miScreenInit(
ScreenPtr pScreen,
......@@ -297,16 +310,3 @@ miSetZeroLineBias(ScreenPtr pScreen, unsigned int bias)
{
dixSetPrivate(&pScreen->devPrivates, miZeroLineScreenKey, (pointer)bias);
}
PixmapPtr
miGetScreenPixmap(ScreenPtr pScreen)
{
return (PixmapPtr)(pScreen->devPrivate);
}
void
miSetScreenPixmap(PixmapPtr pPix)
{
if (pPix)
pPix->drawable.pScreen->devPrivate = (pointer)pPix;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment