From: Eduardo Lima (Etrunko) Date: Fri, 12 Jun 2009 18:25:09 +0000 (-0300) Subject: Updated ecore fullscreen patch X-Git-Url: https://vcs.maemo.org/git/?p=maemo-efl;a=commitdiff_plain;h=9ff166f3a14e5e14ef16244a211f5e0b06b061b5 Updated ecore fullscreen patch --- diff --git a/trunk/ecore/debian/patches/01_ecore_focus_out_fullscreen.diff b/trunk/ecore/debian/patches/01_ecore_focus_out_fullscreen.diff index dc96b97..bbc88dc 100644 --- a/trunk/ecore/debian/patches/01_ecore_focus_out_fullscreen.diff +++ b/trunk/ecore/debian/patches/01_ecore_focus_out_fullscreen.diff @@ -2,15 +2,15 @@ diff --git a/src/lib/ecore_evas/ecore_evas_x.c b/src/lib/ecore_evas/ecore_evas_x 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;