e_plane: fixed unset_counter when visible client is unset
authorChangyeon Lee <cyeon.lee@samsung.com>
Thu, 19 Oct 2017 02:36:42 +0000 (11:36 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Mon, 30 Oct 2017 03:50:08 +0000 (12:50 +0900)
Change-Id: I5b0c487bd95622fc10f350407080eb85088b304f

src/bin/e_plane.c

index 355e70688d067fe4a4468cbff670b3cc3b9b6ace..8792a7060559d364fd2e808c5c8b37e1fdb148c5 100644 (file)
@@ -666,7 +666,7 @@ _e_plane_unset_candidate_set(E_Plane *plane, Eina_Bool sync)
 
              plane->unset_counter = e_plane_renderer_render_count_get(fb_target->renderer);
 
-             if (!visible && !renderer->rendered) plane->unset_counter += 1;
+             if (visible || (!visible && !renderer->rendered)) plane->unset_counter += 1;
           }
      }