e_comp_wl_rsm: remove the defer_img_save
authorlsj119 <lsj119@samsung.com>
Wed, 20 Mar 2019 10:58:28 +0000 (19:58 +0900)
committerlsj119 <lsj119@samsung.com>
Mon, 25 Mar 2019 04:57:29 +0000 (13:57 +0900)
the defer_img_save made for restart save. but it is no longer used.

Change-Id: I0f017e10ab0c00701ad4efd4be8c95e9f89b7d45

src/bin/e_comp_wl_rsm.c

index eb4ced975974cff7d187d1c170839801adc0f170..8d5024ca7390ef33f4f0c11895f4bfe22f7e965a 100644 (file)
@@ -111,8 +111,6 @@ struct _E_Comp_Wl_Remote_Source
 
    int offscreen_ref;
    int ref_as_child;
-
-   Eina_Bool defer_img_save;
 };
 
 /* widget viewer or task-manager client */
@@ -1756,24 +1754,13 @@ end:
 
    eina_stringshare_del(td->image_path);
    E_FREE(td);
-
-   if ((!del) && (source))
-     {
-        if (source->defer_img_save)
-          {
-             RSMDBG("IMG save retry", NULL, source->common.ec, "SOURCE", source);
-             _remote_source_save_start(source);
-             source->defer_img_save = EINA_FALSE;
-          }
-     }
 }
 
 /* Stop capture job when the window is uniconified while capturing
  * on another thread.
  *
  * If a commit event occurs for iconified window, then does cancellation
- * for capture thread and set the defer_img_save to true to restart the
- * capture thread again for new window buffer.
+ * for capture thread.
  *
  * It can be using ecore_thread_check API to check whether the capture
  * job is done.
@@ -1880,10 +1867,10 @@ _remote_source_save_start_cancel(E_Client *ec)
 
    if (source->th)
      {
-        RSMDBG("IMG save could be cancelled. UNICONIFY th:%p(cancel:%d) defer_img_save:%d iconic:%d del:%d ec_del:%d",
+        RSMDBG("IMG save could be cancelled. UNICONIFY th:%p(cancel:%d) iconic:%d del:%d ec_del:%d",
                ec->pixmap, ec, "SOURCE", source,
                source->th, ecore_thread_check(source->th),
-               source->defer_img_save, ec->iconic,
+               ec->iconic,
                source->deleted, e_object_is_del(E_OBJECT(ec)));
         if (!ecore_thread_check(source->th) &&
             !source->deleted &&