Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
E.h ewins.c focus.c
Log Message:
Focus debug stuff.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.513
retrieving revision 1.514
diff -u -3 -r1.513 -r1.514
--- E.h 13 Nov 2005 12:40:10 -0000 1.513
+++ E.h 15 Nov 2005 23:24:20 -0000 1.514
@@ -976,6 +976,7 @@
void FocusToEWin(EWin * ewin, int why);
void FocusHandleEnter(EWin * ewin, XEvent * ev);
void FocusHandleLeave(EWin * ewin, XEvent * ev);
+void FocusHandleChange(EWin * ewin, XEvent * ev);
void FocusHandleClick(EWin * ewin, Window win);
void FocusNewDeskBegin(void);
void FocusNewDesk(void);
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ewins.c,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -3 -r1.129 -r1.130
--- ewins.c 14 Nov 2005 19:25:17 -0000 1.129
+++ ewins.c 15 Nov 2005 23:24:20 -0000 1.130
@@ -1847,6 +1847,7 @@
break;
if (ewin->border->aclass)
ActionclassEvent(ewin->border->aclass, ev, ewin);
+ FocusHandleChange(ewin, ev);
break;
case ConfigureNotify:
case GravityNotify:
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/focus.c,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -3 -r1.133 -r1.134
--- focus.c 13 Nov 2005 12:40:13 -0000 1.133
+++ focus.c 15 Nov 2005 23:24:20 -0000 1.134
@@ -579,6 +579,15 @@
}
void
+FocusHandleChange(EWin * ewin __UNUSED__, XEvent * ev __UNUSED__)
+{
+#if 0 /* Debug */
+ if (ewin == Mode.focuswin && ev->type == FocusOut)
+ Eprintf("??? Lost focus: %s\n", EwinGetName(ewin));
+#endif
+}
+
+void
FocusHandleClick(EWin * ewin, Window win)
{
#if 0
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs