summaryrefslogtreecommitdiff
path: root/mi/miwindow.c
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2014-01-06 18:17:41 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2014-01-06 18:17:41 +0000
commit24cc1f4d9f4475d1b0c256586fb8760dc1d92847 (patch)
treeb9f638ca790a70a511016462fdae12dd4455ad8a /mi/miwindow.c
parent2ea973e12f5d954211e1d10085a4c74581b43aca (diff)
parentb1e9e319cb302d138eef484b9878ec670735a340 (diff)
Merge branch 'cygwin-patches-for-1.15' into cygwin-release-1.15xserver-cygwin-1.15.0-1
Diffstat (limited to 'mi/miwindow.c')
-rw-r--r--mi/miwindow.c4
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, &reg, NULL);
else if (pWin->backgroundState != None)
- miPaintWindow(pWin, &reg, PW_BACKGROUND);
+ (*pWin->drawable.pScreen->PaintWindow)(pWin, &reg, PW_BACKGROUND);
RegionUninit(&reg);
}
@@ -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);