summaryrefslogtreecommitdiff
path: root/fb/fbpixmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fb/fbpixmap.c')
-rw-r--r--fb/fbpixmap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fb/fbpixmap.c b/fb/fbpixmap.c
index e47999dbb..e3abf2b4c 100644
--- a/fb/fbpixmap.c
+++ b/fb/fbpixmap.c
@@ -73,6 +73,11 @@ fbCreatePixmapBpp (ScreenPtr pScreen, int width, int height, int depth, int bpp)
fbInitializeDrawable (&pPixmap->drawable);
#endif
+#ifdef COMPOSITE
+ pPixmap->screen_x = 0;
+ pPixmap->screen_y = 0;
+#endif
+
return pPixmap;
}