diff options
author | Adam Jackson <ajax@redhat.com> | 2016-12-09 14:52:28 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-12-12 14:09:59 -0500 |
commit | e900a00f8dc5a1db63bafddd4ad1cde744975db1 (patch) | |
tree | 55929ca47e1bbbc92395c50ff61f1972b2452669 /hw/dmx | |
parent | 8b335d9068fe4e1f1423a4d86c22b69ffcb819a5 (diff) |
dix: Rename (and retype) PixmapPerDepth[1] to defaultStipple
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw/dmx')
-rw-r--r-- | hw/dmx/dmxextension.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/dmx/dmxextension.c b/hw/dmx/dmxextension.c index 75d7166f3..4f5ca7252 100644 --- a/hw/dmx/dmxextension.c +++ b/hw/dmx/dmxextension.c @@ -922,7 +922,7 @@ dmxBECreateResources(void *value, XID id, RESTYPE type, void *n) dmxBECreatePixmap(pGC->tile.pixmap); dmxBERestorePixmap(pGC->tile.pixmap); } - if (pGC->stipple != pScreen->PixmapPerDepth[0]) { + if (pGC->stipple != pScreen->defaultStipple) { dmxBECreatePixmap(pGC->stipple); dmxBERestorePixmap(pGC->stipple); } @@ -1327,8 +1327,8 @@ dmxAttachScreen(int idx, DMXScreenAttributesPtr attr) * updated to handle dynamic addition/removal of screens. */ /* Create default stipple */ - dmxBECreatePixmap(pScreen->PixmapPerDepth[0]); - dmxBERestorePixmap(pScreen->PixmapPerDepth[0]); + dmxBECreatePixmap(pScreen->defaultStipple); + dmxBERestorePixmap(pScreen->defaultStipple); /* Create the scratch GCs */ dmxBECreateScratchGCs(idx); @@ -1692,8 +1692,8 @@ dmxDetachScreen(int idx) dmxBEDestroyWindowTree(idx); /* Free default stipple */ - dmxBESavePixmap(screenInfo.screens[idx]->PixmapPerDepth[0]); - dmxBEFreePixmap(screenInfo.screens[idx]->PixmapPerDepth[0]); + dmxBESavePixmap(screenInfo.screens[idx]->defaultStipple); + dmxBEFreePixmap(screenInfo.screens[idx]->defaultStipple); /* Free the remaining screen resources and close the screen */ dmxBECloseScreen(screenInfo.screens[idx]); |