Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/ibox


Modified Files:
        e_mod_main.c 


Log Message:
If we don't have a match for netwm.name, use icccm.name for label display.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/ibox/e_mod_main.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -3 -r1.74 -r1.75
--- e_mod_main.c        17 Nov 2006 07:05:45 -0000      1.74
+++ e_mod_main.c        30 Nov 2006 18:07:50 -0000      1.75
@@ -538,6 +538,8 @@
      {
       case 0:
        label = ic->border->client.netwm.name;
+       if (!label)
+         label = ic->border->client.icccm.name;
        break;
       case 1:
        label = ic->border->client.icccm.title;
@@ -547,7 +549,8 @@
        break;
       case 3:
        label = ic->border->client.netwm.icon_name;
-       if (!label) label = ic->border->client.icccm.icon_name;
+       if (!label) 
+         label = ic->border->client.icccm.icon_name;
        break;
      }
    



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to