Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
desktops.c desktops.h iclass.c
Log Message:
Fix theme transparency with external background.
===================================================================
RCS file: /cvs/e/e16/e/src/desktops.c,v
retrieving revision 1.235
retrieving revision 1.236
diff -u -3 -r1.235 -r1.236
--- desktops.c 16 Apr 2006 22:27:06 -0000 1.235
+++ desktops.c 17 Apr 2006 09:23:58 -0000 1.236
@@ -494,6 +494,14 @@
return EobjGetWin(dsk->bg.o);
}
+Pixmap
+DeskGetBackgroundPixmap(const Desk * dsk)
+{
+ if (!dsk)
+ return None;
+ return dsk->bg.pmap;
+}
+
Background *
DeskBackgroundGet(const Desk * dsk)
{
===================================================================
RCS file: /cvs/e/e16/e/src/desktops.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- desktops.h 6 Apr 2006 21:20:16 -0000 1.26
+++ desktops.h 17 Apr 2006 09:23:58 -0000 1.27
@@ -74,6 +74,7 @@
void DeskGotoNum(unsigned int desk);
void DeskRestack(Desk * dsk);
Window DeskGetBackgroundWin(const Desk * dsk);
+Pixmap DeskGetBackgroundPixmap(const Desk * dsk);
Background *DeskBackgroundGet(const Desk * dsk);
void DeskBackgroundSet(Desk * dsk, Background * bg);
===================================================================
RCS file: /cvs/e/e16/e/src/iclass.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -3 -r1.93 -r1.94
--- iclass.c 16 Apr 2006 22:27:06 -0000 1.93
+++ iclass.c 17 Apr 2006 09:23:58 -0000 1.94
@@ -880,7 +880,7 @@
Drawable bg;
int xx, yy;
- bg = BackgroundGetPixmap(DeskBackgroundGet(DesksGetCurrent()));
+ bg = DeskGetBackgroundPixmap(DesksGetCurrent());
if (use_root || bg == None)
{
cr = VRoot.win;
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs