aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/mi/miscrinit.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-07-10 15:23:23 +0000
committermarha <marha@users.sourceforge.net>2010-07-10 15:23:23 +0000
commitd2698d30377ded3f817f90cf2f17d9d3cda5a855 (patch)
treec5371389a080c51773bda26d72663c9f85dc245f /xorg-server/mi/miscrinit.c
parentbfb19bed915a30b5542fe8fee4e91151f25ec3b9 (diff)
downloadvcxsrv-d2698d30377ded3f817f90cf2f17d9d3cda5a855.tar.gz
vcxsrv-d2698d30377ded3f817f90cf2f17d9d3cda5a855.tar.bz2
vcxsrv-d2698d30377ded3f817f90cf2f17d9d3cda5a855.zip
git update 10/7/2010
Diffstat (limited to 'xorg-server/mi/miscrinit.c')
-rw-r--r--xorg-server/mi/miscrinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/mi/miscrinit.c b/xorg-server/mi/miscrinit.c
index 60a983e65..6ac9090b2 100644
--- a/xorg-server/mi/miscrinit.c
+++ b/xorg-server/mi/miscrinit.c
@@ -76,7 +76,6 @@ miModifyPixmapHeader(PixmapPtr pPixmap, int width, int height, int depth,
pPixmap->drawable.depth = depth;
pPixmap->drawable.bitsPerPixel = bitsPerPixel;
pPixmap->drawable.id = 0;
- pPixmap->drawable.serialNumber = NEXT_SERIAL_NUMBER;
pPixmap->drawable.x = 0;
pPixmap->drawable.y = 0;
pPixmap->drawable.width = width;
@@ -116,6 +115,7 @@ miModifyPixmapHeader(PixmapPtr pPixmap, int width, int height, int depth,
if (pPixData)
pPixmap->devPrivate.ptr = pPixData;
}
+ pPixmap->drawable.serialNumber = NEXT_SERIAL_NUMBER;
return TRUE;
}