Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        hints.c 


Log Message:
Remove unused _XROOTWINDOW hint stuff.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/hints.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- hints.c     22 May 2004 19:31:12 -0000      1.21
+++ hints.c     30 May 2004 12:30:51 -0000      1.22
@@ -330,8 +330,7 @@
 void
 HintsSetRootInfo(Window win, Pixmap pmap, int color)
 {
-   static Atom         a = 0, aa = 0, aaa = 0;
-   static Window       alive_win = 0;
+   static Atom         a = 0, aa = 0;
 
    EDBUG(6, "HintsSetRootInfo");
 
@@ -339,19 +338,11 @@
      {
        a = XInternAtom(disp, "_XROOTPMAP_ID", False);
        aa = XInternAtom(disp, "_XROOTCOLOR_PIXEL", False);
-       aaa = XInternAtom(disp, "_XROOTWINDOW", False);
-     }
-   if (!alive_win)
-     {
-       alive_win = ECreateWindow(VRoot.win, -100, -100, 1, 1, 0);
-       XChangeProperty(disp, alive_win, aaa, XA_WINDOW, 32, PropModeReplace,
-                       (unsigned char *)&alive_win, 1);
-       XChangeProperty(disp, VRoot.win, aaa, XA_WINDOW, 32, PropModeReplace,
-                       (unsigned char *)&alive_win, 1);
      }
 
    if (Conf.hints.set_xroot_info_on_root_window)
       win = VRoot.win;
+
    XChangeProperty(disp, win, a, XA_PIXMAP, 32, PropModeReplace,
                   (unsigned char *)&pmap, 1);
    XChangeProperty(disp, win, aa, XA_CARDINAL, 32, PropModeReplace,




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to