Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        focus.c 


Log Message:
Fix pointer focus on window close.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/focus.c,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -3 -r1.124 -r1.125
--- focus.c     18 Oct 2005 19:21:25 -0000      1.124
+++ focus.c     20 Oct 2005 18:09:35 -0000      1.125
@@ -97,6 +97,8 @@
      default:
      case MODE_FOCUS_POINTER:
        ewin = GetEwinPointerInClient();
+       if (ewin && !FocusEwinValid(ewin, 1, 0, 0))
+          ewin = NULL;
        break;
 
      case MODE_FOCUS_SLOPPY:
@@ -293,7 +295,7 @@
      case FOCUS_ENTER:
      case FOCUS_LEAVE:         /* Unused */
      case FOCUS_CLICK:
-       if (ewin == Mode.focuswin)
+       if (ewin && ewin == Mode.focuswin)
           return;
        if (ewin == NULL)       /* Unfocus */
           break;




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to