Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_border.c
Log Message:
focus fiddling
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -3 -r1.166 -r1.167
--- e_border.c 29 Apr 2005 08:56:23 -0000 1.166
+++ e_border.c 29 Apr 2005 10:03:11 -0000 1.167
@@ -699,29 +699,34 @@
*
* 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_get());
- e_hints_active_window_set(bd->container->manager, bd);
ecore_x_window_focus(bd->client.win);
+ ecore_x_icccm_take_focus_send(bd->client.win,
ecore_x_current_time_get());
+// e_hints_active_window_set(bd->container->manager, bd);
}
else
{
// printf("set focus\n");
ecore_x_window_focus(bd->client.win);
- e_hints_active_window_set(bd->container->manager, bd);
+// e_hints_active_window_set(bd->container->manager, bd);
}
}
else
{
// printf("remove focus\n");
ecore_x_window_focus(bd->container->manager->win);
- e_hints_active_window_set(bd->container->manager, NULL);
+// e_hints_active_window_set(bd->container->manager, NULL);
}
}
if ((bd->focused) && (focused != bd))
- focused = bd;
+ {
+ focused = bd;
+ e_hints_active_window_set(bd->container->manager, bd);
+ }
else if ((!bd->focused) && (focused == bd))
- focused = NULL;
-
+ {
+ focused = NULL;
+ e_hints_active_window_set(bd->container->manager, NULL);
+ }
// printf("F %x %i\n", bd->client.win, bd->focused);
}
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs