summaryrefslogtreecommitdiff
path: root/hw/dmx/dmxgcops.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-03-23 13:38:37 +0900
committerKeith Packard <keithp@keithp.com>2011-03-23 13:38:37 +0900
commit03f45df93469f6aef391e97007b9614e0770cc4c (patch)
tree3cfde05ac25184ebdf70c66a51baf8019c69977e /hw/dmx/dmxgcops.c
parentefcb7275ce5de651f91ba4ff8bb227dfb68bb154 (diff)
parent5fb329a04a18835ce864d0563f6dfeb3d3c78d69 (diff)
Merge remote-tracking branch 'airlied/xinerama-cleanup'
Diffstat (limited to 'hw/dmx/dmxgcops.c')
-rw-r--r--hw/dmx/dmxgcops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/dmxgcops.c b/hw/dmx/dmxgcops.c
index bc8cd9edc..500e2cdf1 100644
--- a/hw/dmx/dmxgcops.c
+++ b/hw/dmx/dmxgcops.c
@@ -529,7 +529,7 @@ static DMXScreenInfo *dmxFindAlternatePixmap(DrawablePtr pDrawable, XID *draw)
NullClient, DixUnknownAccess))
return NULL;
- for (i = 1; i < PanoramiXNumScreens; i++) {
+ FOR_NSCREENS_FORWARD_SKIP(i) {
dmxScreen = &dmxScreens[i];
if (dmxScreen->beDisplay) {
PixmapPtr pSrc;