index ad87a69..2236ba3 100644
--- a/src/lib/ecore_evas/ecore_evas_x.c
+++ b/src/lib/ecore_evas/ecore_evas_x.c
-@@ -934,8 +934,9 @@ _ecore_evas_x_event_window_focus_out(void *data __UNUSED__, int type __UNUSED__,
+@@ -638,8 +638,9 @@ _ecore_evas_x_event_window_focus_out(void *data __UNUSED__, int type __UNUSED__,
ee = _ecore_evas_x_match(e->win);
if ((!ee) || (ee->ignore_events)) return 1; /* pass on event */
- if (e->win != ee->engine.x.win) return 1;
+ if (e->win != ee->prop.window) return 1;
- if (ee->prop.fullscreen)
-- ecore_x_window_focus(ee->engine.x.win);
+- ecore_x_window_focus(ee->prop.window);
+ /* XXX: don't regain focus when focus out a fullscreen window. */
+ /* if (ee->prop.fullscreen) */
-+ /* ecore_x_window_focus(ee->engine.x.win); */
++ /* ecore_x_window_focus(ee->prop.window); */
ee->prop.focused = 0;
if (ee->func.fn_focus_out) ee->func.fn_focus_out(ee);
return 1;