buffer_flush: no flush for uniconic client 00/170800/1
authorJuyeon Lee <juyeonne.lee@samsung.com>
Thu, 22 Feb 2018 07:31:40 +0000 (16:31 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Thu, 22 Feb 2018 07:32:49 +0000 (16:32 +0900)
client such as keyboard is handled in e_mod_tizen_wl_textinput
and it never be in iconic state(ec->exp_iconify.skip_iconify = 1)
once it keyboard window is hide, the buffer shall not be flushed

Change-Id: I61d94b2eb7ce06204e04b3ba193d66a3045e83c8

src/bin/e_policy_visibility.c

index 6d82eab..ca1f585 100644 (file)
@@ -946,7 +946,7 @@ _e_vis_client_cb_evas_hide(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Obj
    VS_DBG(ec, "\tUPDATE ICONIC STATE: %s", STATE_STR(vc));
    vc->prepare_emitted = 0;
 
-   if (ec->exp_iconify.buffer_flush)
+   if (ec->iconic && ec->exp_iconify.buffer_flush)
      e_pixmap_buffer_clear(ec->pixmap, EINA_FALSE);
 }