Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_border.c e_main.c Log Message: 1. unset want focus... 2. initial focus :) =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.331 retrieving revision 1.332 diff -u -3 -r1.331 -r1.332 --- e_border.c 12 Jul 2005 15:28:05 -0000 1.331 +++ e_border.c 12 Jul 2005 17:37:27 -0000 1.332 @@ -855,6 +855,11 @@ { E_OBJECT_CHECK(bd); E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE); + if ((bd->visible) && (bd->changes.visible)) + { + if ((bd->want_focus) && (set) && (!focus)) + bd->want_focus = 0; + } if ((focus) && (!bd->focused)) { if ((bd->visible) && (bd->changes.visible)) =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_main.c,v retrieving revision 1.111 retrieving revision 1.112 diff -u -3 -r1.111 -r1.112 --- e_main.c 11 Jul 2005 09:19:17 -0000 1.111 +++ e_main.c 12 Jul 2005 17:37:28 -0000 1.112 @@ -710,7 +710,6 @@ { man->num = i; e_manager_show(man); - if (i == 0) ecore_x_window_focus(man->root); } else { @@ -722,6 +721,7 @@ if (con) { e_container_show(con); + e_grabinput_focus(con->bg_win, E_FOCUS_METHOD_PASSIVE); e_hints_manager_init(man); _e_main_desk_restore(man, con); e_manager_manage_windows(man); ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs