e_output: allow plane commit besides fb_target in zoom case 64/191764/3
authorChangyeon Lee <cyeon.lee@samsung.com>
Tue, 23 Oct 2018 09:03:23 +0000 (18:03 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Thu, 8 Nov 2018 12:48:38 +0000 (21:48 +0900)
Change-Id: I5a416cc8eac0aed8e361438d3dc2172231634b17

src/bin/e_output.c

index a876858ac5d91e83ff519684945468f828a40332..cf5953018d4b1b95dcab424f019b11c75356516d 100644 (file)
@@ -2201,9 +2201,11 @@ e_output_commit(E_Output *output)
           {
              /* skip the fb_target fetch because we do this previously */
              if (e_plane_is_fb_target(plane)) continue;
-             if (!e_plane_is_unset_candidate(plane)) continue;
 
-             e_plane_unset_try_set(plane, EINA_TRUE);
+             /* if the plane is the candidate to unset,
+                set the plane to be unset_try */
+             if (e_plane_is_unset_candidate(plane))
+               e_plane_unset_try_set(plane, EINA_TRUE);
 
              /* if the plane is trying to unset,
               * 1. if fetching the fb is not available, continue.