Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        desktops.c ewins.c finders.c focus.c 


Log Message:
Don't set mouse-over win on desk enter, should be handled via enter events.

===================================================================
RCS file: /cvs/e/e16/e/src/desktops.c,v
retrieving revision 1.276
retrieving revision 1.277
diff -u -3 -r1.276 -r1.277
--- desktops.c  19 Jan 2008 13:32:30 -0000      1.276
+++ desktops.c  19 Jan 2008 13:38:51 -0000      1.277
@@ -406,6 +406,7 @@
        EobjSetLayer(eo, 0);
        EventCallbackRegister(EobjGetWin(eo), 0, DeskHandleEvents, dsk);
        dsk->bg.o_bg = eo;
+       ESelectInput(EobjGetWin(eo), EnterWindowMask);
 #endif
 #endif
      }
===================================================================
RCS file: /cvs/e/e16/e/src/ewins.c,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -3 -r1.212 -r1.213
--- ewins.c     19 Jan 2008 13:32:30 -0000      1.212
+++ ewins.c     19 Jan 2008 13:38:51 -0000      1.213
@@ -477,6 +477,7 @@
      }
 }
 
+#if 0                          /* Remove? */
 EWin               *
 GetEwinByCurrentPointer(void)
 {
@@ -486,6 +487,7 @@
 
    return EwinFindByFrame(child);
 }
+#endif
 
 EWin               *
 GetEwinPointerInClient(void)
===================================================================
RCS file: /cvs/e/e16/e/src/finders.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -3 -r1.55 -r1.56
--- finders.c   4 Mar 2007 23:25:11 -0000       1.55
+++ finders.c   19 Jan 2008 13:38:51 -0000      1.56
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various 
contributors
+ * Copyright (C) 2008 Kim Woelders
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -42,6 +43,7 @@
    return NULL;
 }
 
+#if 0                          /* Remove? */
 EWin               *
 EwinFindByFrame(Window win)
 {
@@ -56,6 +58,7 @@
      }
    return NULL;
 }
+#endif
 
 EWin               *
 EwinFindByClient(Window win)
===================================================================
RCS file: /cvs/e/e16/e/src/focus.c,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -3 -r1.169 -r1.170
--- focus.c     28 Jul 2007 08:39:55 -0000      1.169
+++ focus.c     19 Jan 2008 13:38:51 -0000      1.170
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various 
contributors
- * Copyright (C) 2004-2007 Kim Woelders
+ * Copyright (C) 2004-2008 Kim Woelders
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -517,8 +517,10 @@
 void
 FocusNewDesk(void)
 {
+#if 0                          /* Remove? */
    /* Set the mouse-over window */
    Mode.mouse_over_ewin = GetEwinByCurrentPointer();
+#endif
 
    FocusToEWin(NULL, FOCUS_DESK_ENTER);
 
@@ -532,8 +534,10 @@
    /* Start focusing windows */
    FocusEnable(1);
 
+#if 0                          /* Remove? */
    /* Set the mouse-over window */
    Mode.mouse_over_ewin = GetEwinByCurrentPointer();
+#endif
 
    focus_pending_why = 0;
    focus_pending_ewin = focus_pending_new = NULL;



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to