Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_x


Modified Files:
        ecore_x_icccm.c 


Log Message:
Use convenience functions, and icccm shouldn't bother with netwm.

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_icccm.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- ecore_x_icccm.c     25 May 2005 05:40:03 -0000      1.27
+++ ecore_x_icccm.c     28 May 2005 11:53:14 -0000      1.28
@@ -750,9 +750,7 @@
 void
 ecore_x_icccm_icon_name_set(Ecore_X_Window win, const char *t)
 {
-   ecore_x_window_prop_string_set(win, ECORE_X_ATOM_WM_ICON_NAME, (char *)t);
-   ecore_x_window_prop_string_set(win, ECORE_X_ATOM_NET_WM_ICON_NAME,
-                                 (char *)t);
+   XSetIconName(_ecore_x_disp, win, (char *)t);
 }
 
 /**
@@ -767,9 +765,8 @@
 {
    char               *name;
 
-   name = ecore_x_window_prop_string_get(win, ECORE_X_ATOM_NET_WM_ICON_NAME);
-   if (!name)
-      name = ecore_x_window_prop_string_get(win, ECORE_X_ATOM_WM_ICON_NAME);
+   if (!XGetIconName(_ecore_x_disp, win, &name))
+     return NULL;
    return name;
 }
 




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to