e_output: set fake_config to false before resize ecore_evas
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 22 Jul 2019 06:10:42 +0000 (15:10 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 24 Jul 2019 12:27:23 +0000 (21:27 +0900)
Change-Id: Id0c43c52f2f3e1f56ef329fe165f1ce6ab24f863

src/bin/e_output.c

index 4de35c09c31112b6d57b07b4ea5bc2bb7ddb06cf..43f40963184be255470606efaaa60c95d6c7487a 100644 (file)
@@ -696,6 +696,9 @@ _e_output_primary_update(E_Output *output)
              EOERR("fail to e_output_mode_apply.", output);
              return;
           }
+
+        output->fake_config = EINA_FALSE;
+
         ret = e_output_dpms_set(output, E_OUTPUT_DPMS_ON);
         if (ret == EINA_FALSE)
           {
@@ -706,7 +709,6 @@ _e_output_primary_update(E_Output *output)
         e_output_size_get(output, &w, &h);
         if (w == e_comp->w && h == e_comp->h)
           {
-             output->fake_config = EINA_FALSE;
              e_comp_canvas_norender_pop();
              return;
           }
@@ -717,8 +719,6 @@ _e_output_primary_update(E_Output *output)
 
         ecore_event_add(E_EVENT_SCREEN_CHANGE, NULL, NULL, NULL);
 
-        output->fake_config = EINA_FALSE;
-
         _e_output_client_resize(e_comp->w, e_comp->h);
 
         e_comp_canvas_norender_pop();