Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ewmh.c 


Log Message:
Startup id bits.

===================================================================
RCS file: /cvs/e/e16/e/src/ewmh.c,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -3 -r1.117 -r1.118
--- ewmh.c      17 Apr 2007 21:20:34 -0000      1.117
+++ ewmh.c      17 Apr 2007 21:31:30 -0000      1.118
@@ -687,6 +687,22 @@
 }
 
 static void
+EWMH_GetWindowStartupId(EWin * ewin)
+{
+#if 0                          /* TBD */
+#define TryGroup(e) (((e)->icccm.group != None) && ((e)->icccm.group != 
EwinGetClientXwin(e)))
+   char               *str;
+
+   ecore_x_netwm_startup_id_get(EwinGetClientXwin(ewin), &str);
+   if (!str && TryGroup(ewin))
+      ecore_x_netwm_startup_id_get(ewin->icccm.group, &str);
+   Eprintf("Startup id: %s: %s\n", EwinGetTitle(ewin), str);
+#else
+   ewin = NULL;
+#endif
+}
+
+static void
 EWMH_GetWindowMisc(EWin * ewin)
 {
    int                 num;
@@ -803,6 +819,7 @@
    EWMH_GetWindowIcons(ewin);
    EWMH_GetWindowStrut(ewin);
    EWMH_GetWindowUserTime(ewin);
+   EWMH_GetWindowStartupId(ewin);
 }
 
 /*



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to