remote_surface: fix to raise source window at offscreen set 44/116644/2 accepted/tizen/3.0/common/20170228.061540 accepted/tizen/3.0/ivi/20170228.001454 accepted/tizen/3.0/mobile/20170228.001233 accepted/tizen/3.0/tv/20170228.001341 accepted/tizen/3.0/wearable/20170228.001405 accepted/tizen/common/20170227.140647 accepted/tizen/ivi/20170228.013125 accepted/tizen/mobile/20170228.013023 accepted/tizen/tv/20170228.013050 accepted/tizen/wearable/20170228.013108 submit/tizen/20170227.123549 submit/tizen_3.0/20170227.123613
authorMinJeong Kim <minjjj.kim@samsung.com>
Fri, 24 Feb 2017 12:03:26 +0000 (21:03 +0900)
committerMinJeong Kim <minjjj.kim@samsung.com>
Mon, 27 Feb 2017 10:56:03 +0000 (02:56 -0800)
Change-Id: Ibcc1b7acbaf4f63edc9631f320e8f9a5e958fdbf
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
src/bin/e_comp_wl_rsm.c

index 4497452570cf443ac56e7e16a4c8bfab5509de15..ffcae51cd6e2fa018e7007a66d0acaebd895c1c3 100644 (file)
@@ -876,8 +876,19 @@ _remote_source_offscreen_set(E_Comp_Wl_Remote_Source *source, Eina_Bool set)
         if (source->offscreen_ref == 1)
           {
              source->is_offscreen = EINA_TRUE;
-             e_policy_wl_uniconify(source->ec);
+
+             source->ec->exp_iconify.not_raise = 1;
+             if (!source->ec->exp_iconify.by_client)
+               e_policy_wl_iconify_state_change_send(source->ec, 0);
+
+             RSMINF("Un-Set ICONIFY BY Remote_Surface", source->ec->pixmap, source->ec,
+                    "SOURCE", source);
+             e_client_uniconify(source->ec);
+
+             source->ec->exp_iconify.by_client = 0;
              source->ec->exp_iconify.skip_by_remote = 1;
+
+             EC_CHANGED(source->ec);
           }
      }
    else