e_comp:set nocomp and nocomp ec before put damage when nocomp end 12/74212/4
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 13 Jun 2016 11:28:43 +0000 (20:28 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Tue, 14 Jun 2016 07:10:08 +0000 (00:10 -0700)
if nocomp is set 1, doesn't put damage in e_comp_object_damage

Change-Id: I2d17e4ccb9d57287b349e3127e0738dcff9e1634

src/bin/e_comp.c

index fea4c41d0682ff86c137f5034ac841aae9d7a35e..47f9028cec546e63bd1c8047708387c50199eb12 100644 (file)
@@ -345,14 +345,16 @@ _e_comp_cb_nocomp_end(void)
 
    INF("COMP RESUME!");
 
+   e_comp->nocomp_ec = NULL;
+   e_comp->nocomp = 0;
+
    E_CLIENT_FOREACH(ec)
      {
         if (ec->visible && (!ec->input_only))
           e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
 
      }
-   e_comp->nocomp_ec = NULL;
-   e_comp->nocomp = 0;
+
    e_comp_render_queue();
    e_comp_shape_queue_block(0);
    ecore_event_add(E_EVENT_COMPOSITOR_ENABLE, NULL, NULL, NULL);