Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_border.c Log Message: Use last event time when sending a take focus message. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.157 retrieving revision 1.158 diff -u -3 -r1.157 -r1.158 --- e_border.c 27 Apr 2005 06:34:30 -0000 1.157 +++ e_border.c 28 Apr 2005 07:49:13 -0000 1.158 @@ -3,7 +3,8 @@ */ #include "e.h" -//#define INOUTDEBUG 1 +//#define INOUTDEBUG_MOUSE 1 +//#define INOUTDEBUG_FOCUS 1 #define RESIZE_NONE 0 #define RESIZE_TL 1 @@ -721,7 +722,7 @@ * * now the focus is on Y where it should be on X */ - ecore_x_icccm_take_focus_send(bd->client.win, ECORE_X_CURRENT_TIME); + ecore_x_icccm_take_focus_send(bd->client.win, ecore_x_current_time_get()); e_hints_active_window_set(bd->container->manager, bd->client.win); ecore_x_window_focus(bd->client.win); } @@ -1613,7 +1614,7 @@ e = ev; bd = e_border_find_by_client_window(e->win); if (!bd) return 1; -#ifdef INOUTDEBUG +#ifdef INOUTDEBUG_FOCUS { time_t t; char *ct; @@ -1658,7 +1659,7 @@ e = ev; bd = e_border_find_by_client_window(e->win); if (!bd) return 1; -#ifdef INOUTDEBUG +#ifdef INOUTDEBUG_FOCUS { time_t t; char *ct; @@ -1971,7 +1972,7 @@ ev = event; bd = data; -#ifdef INOUTDEBUG +#ifdef INOUTDEBUG_MOUSE { time_t t; char *ct; @@ -2036,7 +2037,7 @@ ev = event; bd = data; -#ifdef INOUTDEBUG +#ifdef INOUTDEBUG_MOUSE { time_t t; char *ct; ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs