Implement a workaround for wayland_egl, allowing to raise 46/14246/2 accepted/tizen_generic accepted/tizen_ivi accepted/tizen_ivi_panda tizen accepted/tizen/generic/20140313.172110 accepted/tizen/ivi/20140314.172546 accepted/tizen/ivi/panda/20140318.013808 accepted/tizen/ivi/release/20140410.165901 submit/tizen/20140313.172009 submit/tizen_ivi_release/20140410.165247
authorManuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Mon, 30 Dec 2013 14:07:56 +0000 (15:07 +0100)
committerManuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Tue, 11 Mar 2014 09:37:23 +0000 (10:37 +0100)
the window by hiding and showing it successively. Existing
compositors, such as Weston, will restack it on top.

Fixes "tizen.application.launch()" does not bring already..

Bug-Tizen: https://bugs.tizen.org/jira/browse/TIVI-2143

Change-Id: Ibfef7fa4bf3fc5b562426a1a0f6140c4531a4919
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
src/lib/ecore_evas/ecore_evas_wayland_egl.c

index 1669794..8cfaafa 100644 (file)
@@ -665,6 +665,11 @@ _ecore_evas_wl_raise(Ecore_Evas *ee)
 
    if ((!ee) || (!ee->visible)) return;
    ecore_wl_window_raise(ee->engine.wl.win);
+
+   /* hide and show to bring window to foreground */
+   ecore_evas_hide(ee);
+   ecore_evas_show(ee);
+   ecore_wl_window_damage(ee->engine.wl.win, 0, 0, ee->w, ee->h);
 }
 
 static void