Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_border.c 


Log Message:


fix moa!

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_border.c  25 Nov 2004 15:32:36 -0000      1.4
+++ e_border.c  25 Nov 2004 15:39:11 -0000      1.5
@@ -336,6 +336,10 @@
 {
    E_OBJECT_CHECK(bd);
    if (!bd->client.icccm.accepts_focus) return;
+   if ((focus) && (!bd->focused))
+     edje_object_signal_emit(bd->bg_object, "active", "");
+   else if ((!focus) && (bd->focused))
+     edje_object_signal_emit(bd->bg_object, "passive", "");
    bd->focused = focus;
    if (set)
      {
@@ -359,10 +363,6 @@
      focused = NULL;
 
    printf("F %x %i\n", bd->client.win, bd->focused);
-   if (bd->focused)
-     edje_object_signal_emit(bd->bg_object, "active", "");
-   else
-     edje_object_signal_emit(bd->bg_object, "passive", "");
 }
 
 E_Border *




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to