[xserver-commit] xserver/fb fb.h,1.41,1.42

Eric Anholt xserver-commit@pdx.freedesktop.org
Mon, 05 Jan 2004 13:08:48 -0800


Committed by: anholt

Update of /cvs/xserver/xserver/fb
In directory pdx:/home/anholt/xserver/fb

Modified Files:
	fb.h 
Log Message:
Fix a swapping of drawable.[xy] in #ifdef COMPOSITE


Index: fb.h
===================================================================
RCS file: /cvs/xserver/xserver/fb/fb.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- fb.h	17 Nov 2003 22:09:12 -0000	1.41
+++ fb.h	5 Jan 2004 21:08:46 -0000	1.42
@@ -638,8 +638,8 @@
 #endif
 
 #ifdef COMPOSITE
-#define __fbPixOffXWin(pPix)	((pPix)->drawable.y-(pPix)->screen_x)
-#define __fbPixOffYWin(pPix)	((pPix)->drawable.x-(pPix)->screen_y)
+#define __fbPixOffXWin(pPix)	((pPix)->drawable.x-(pPix)->screen_x)
+#define __fbPixOffYWin(pPix)	((pPix)->drawable.y-(pPix)->screen_y)
 #else
 #define __fbPixOffXWin(pPix)	((pPix)->drawable.x)
 #define __fbPixOffYWin(pPix)	((pPix)->drawable.y)