Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: desktops.c Log Message: Quick fix for apps that want to inherit the root pixmap. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/desktops.c,v retrieving revision 1.223 retrieving revision 1.224 diff -u -3 -r1.223 -r1.224 --- desktops.c 18 Feb 2006 08:30:08 -0000 1.223 +++ desktops.c 18 Feb 2006 16:11:07 -0000 1.224 @@ -548,9 +548,17 @@ #endif { if (dsk->bg.pmap != None) - ESetWindowBackgroundPixmap(win, dsk->bg.pmap); + { + ESetWindowBackgroundPixmap(win, dsk->bg.pmap); + if (dsk->num == 0 && win != VRoot.win) + ESetWindowBackgroundPixmap(VRoot.win, dsk->bg.pmap); + } else - ESetWindowBackground(win, dsk->bg.pixel); + { + ESetWindowBackground(win, dsk->bg.pixel); + if (dsk->num == 0 && win != VRoot.win) + ESetWindowBackground(VRoot.win, dsk->bg.pixel); + } EClearWindow(win); } @@ -562,6 +570,8 @@ HintsSetRootInfo(EoGetWin(dsk), None, 0); ESetWindowBackgroundPixmap(win, None); + if (dsk->num == 0 && win != VRoot.win) + ESetWindowBackgroundPixmap(VRoot.win, None); } } ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs