Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        focus.c 


Log Message:
Fix inconsistent focusing of sliding windows.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/focus.c,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -3 -r1.130 -r1.131
--- focus.c     3 Nov 2005 17:59:38 -0000       1.130
+++ focus.c     12 Nov 2005 15:17:44 -0000      1.131
@@ -65,9 +65,10 @@
       return 0;
 
 #if 0
-   Eprintf("FocusEwinValid %#lx %s: cl=%d(%d) vis=%d(%d)\n",
-          _EwinGetClientXwin(ewin), EwinGetName(ewin), click,
-          ewin->props.focusclick, want_visible, ewin->state.visibility);
+   Eprintf("FocusEwinValid %#lx %s: st=%d sh=%d inh=%d cl=%d(%d) vis=%d(%d)\n",
+          _EwinGetClientXwin(ewin), EwinGetName(ewin),
+          ewin->state.state, EoIsShown(ewin), ewin->state.inhibit_focus,
+          click, ewin->props.focusclick, want_visible, ewin->state.visibility);
 #endif
 
    if (ewin->state.inhibit_focus)
@@ -457,7 +458,7 @@
        break;
 
      default:
-       if (ewin && !FocusEwinValid(ewin, 1, why == FOCUS_CLICK, 0))
+       if (ewin && !FocusEwinValid(ewin, 0, why == FOCUS_CLICK, 0))
           break;
        focus_pending_why = why;
        focus_pending_ewin = ewin;




-------------------------------------------------------
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