Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_x
Modified Files:
ecore_x.c ecore_x_netwm.c
Log Message:
same as previous commit.
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_x/ecore_x.c,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -3 -r1.115 -r1.116
--- ecore_x.c 29 Sep 2006 04:27:39 -0000 1.115
+++ ecore_x.c 30 Sep 2006 10:18:31 -0000 1.116
@@ -1182,13 +1182,14 @@
xci->delay = 0;
for (i = 0; i < (w * h); i++)
{
- int r, g, b, a;
-
- a = (pixels[i] >> 24) & 0xff;
- r = (((pixels[i] >> 16) & 0xff) * a) / 0xff;
- g = (((pixels[i] >> 8 ) & 0xff) * a) / 0xff;
- b = (((pixels[i] ) & 0xff) * a) / 0xff;
- xci->pixels[i] = (a << 24) | (r << 16) | (g << 8) | (b);
+// int r, g, b, a;
+//
+// a = (pixels[i] >> 24) & 0xff;
+// r = (((pixels[i] >> 16) & 0xff) * a) / 0xff;
+// g = (((pixels[i] >> 8 ) & 0xff) * a) / 0xff;
+// b = (((pixels[i] ) & 0xff) * a) / 0xff;
+ xci->pixels[i] = pixels[i];
+// (a << 24) | (r << 16) | (g << 8) | (b);
}
c = XcursorImageLoadCursor(_ecore_x_disp, xci);
XcursorImageDestroy(xci);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs