diff options
Diffstat (limited to 'mi/miwindow.c')
-rw-r--r-- | mi/miwindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mi/miwindow.c b/mi/miwindow.c index 8dd99dbf0..4b33ca6a4 100644 --- a/mi/miwindow.c +++ b/mi/miwindow.c @@ -112,7 +112,7 @@ miClearToBackground(WindowPtr pWin, if (generateExposures) (*pWin->drawable.pScreen->WindowExposures) (pWin, ®, NULL); else if (pWin->backgroundState != None) - miPaintWindow(pWin, ®, PW_BACKGROUND); + (*pWin->drawable.pScreen->PaintWindow)(pWin, ®, PW_BACKGROUND); RegionUninit(®); } @@ -218,7 +218,7 @@ miHandleValidateExposures(WindowPtr pWin) while (1) { if ((val = pChild->valdata)) { if (RegionNotEmpty(&val->after.borderExposed)) - miPaintWindow(pChild, &val->after.borderExposed, PW_BORDER); + (*pChild->drawable.pScreen->PaintWindow)(pChild, &val->after.borderExposed, PW_BORDER); RegionUninit(&val->after.borderExposed); (*WindowExposures) (pChild, &val->after.exposed, NullRegion); RegionUninit(&val->after.exposed); |