Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        focus.c 


Log Message:
Fix bug in state update when losing focus.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/focus.c,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -3 -r1.129 -r1.130
--- focus.c     30 Oct 2005 19:40:49 -0000      1.129
+++ focus.c     3 Nov 2005 17:59:38 -0000       1.130
@@ -242,6 +242,9 @@
 static void
 FocusEwinSetActive(EWin * ewin, int active)
 {
+   if (ewin->state.active == active)
+      return;
+
    ewin->state.active = active;
    EwinBorderUpdateState(ewin);
 
@@ -467,6 +470,7 @@
          {
             Mode.focuswin = NULL;
             focus_is_set = 0;
+            FocusEwinSetActive(ewin, 0);
          }
        if (ewin == focus_pending_new)
           focus_pending_new = NULL;




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to