support "raise" request for wayland surface 33/44733/1 accepted/tizen/mobile/20150727.235738 accepted/tizen/tv/20150727.235831 accepted/tizen/wearable/20150727.235923 submit/tizen/20150727.083523
authorDuna Oh <duna.oh@samsung.com>
Mon, 27 Jul 2015 07:54:01 +0000 (16:54 +0900)
committerDuna Oh <duna.oh@samsung.com>
Mon, 27 Jul 2015 07:54:06 +0000 (16:54 +0900)
Change-Id: I318f13470b3e10079322dbc1255fedea10df4ee7
Signed-off-by: Duna Oh <duna.oh@samsung.com>
src/lib/ecore_wayland/ecore_wl_window.c

index 341299c..51f7a20 100644 (file)
@@ -567,6 +567,9 @@ ecore_wl_window_raise(Ecore_Wl_Window *win)
 
    if (!win) return;
    /* FIXME: This should raise the xdg surface also */
+
+   if ((win->surface) && (_ecore_wl_disp->wl.tz_policy))
+     tizen_policy_raise(_ecore_wl_disp->wl.tz_policy, win->surface);
    if (win->shell_surface) 
      wl_shell_surface_set_toplevel(win->shell_surface);
 }