From: <enl...@li...> - 2003-05-28 06:32:19
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore Dir : e17/libs/ecore/src/lib/ecore_evas Modified Files: Tag: SPLIT ecore_evas_x.c Log Message: and focus too =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_evas/Attic/ecore_evas_x.c,v retrieving revision 1.1.2.17 retrieving revision 1.1.2.18 diff -u -3 -r1.1.2.17 -r1.1.2.18 --- ecore_evas_x.c 28 May 2003 06:21:37 -0000 1.1.2.17 +++ ecore_evas_x.c 28 May 2003 06:32:18 -0000 1.1.2.18 @@ -698,6 +698,8 @@ if (!ee->prop.fullscreen) ecore_x_window_show(ee->engine.x.win_container); ecore_x_window_show(ee->engine.x.win); + if (ee->prop.fullscreen) + ecore_x_window_focus(ee->engine.x.win); ee->should_be_visible = 1; } @@ -914,7 +916,11 @@ ecore_x_window_focus(ee->engine.x.win); ecore_x_window_hide(ee->engine.x.win_container); ecore_x_window_shape_mask_set(ee->engine.x.win_container, 0); - if (ee->should_be_visible) ecore_x_window_show(ee->engine.x.win); + if (ee->should_be_visible) + { + ecore_x_window_show(ee->engine.x.win); + ecore_x_window_focus(ee->engine.x.win); + } ee->x = 0; ee->y = 0; } |