discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=aec20f1420461675b2d4d303be830e2abadf8b3e

commit aec20f1420461675b2d4d303be830e2abadf8b3e
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Feb 19 10:13:47 2014 -0500

    force full render on present events during startup
---
 src/bin/e_comp_x.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index e0a0fea..b22a364 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -2547,9 +2547,15 @@ _e_comp_x_present_configure(void *data EINA_UNUSED, int 
t EINA_UNUSED, Ecore_X_E
    if (!ec) return ECORE_CALLBACK_RENEW;
    if (e_pixmap_size_changed(ec->pixmap, ev->pixmap_width, ev->pixmap_height))
      {
+        //WRN("PRESENT %p: %dx%d", ec, ev->pixmap_width, ev->pixmap_height);
         e_pixmap_dirty(ec->pixmap);
         if (e_comp_object_damage_exists(ec->frame))
-          e_comp_object_render_update_add(ec->frame);
+          {
+             if (starting)
+               e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
+             else
+               e_comp_object_render_update_add(ec->frame);
+          }
         ec->comp_data->pw = ev->pixmap_width;
         ec->comp_data->ph = ev->pixmap_height;
      }

-- 


Reply via email to