discomfitor pushed a commit to branch master.

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

commit 6ba90335e27be6b0cc0598e85e499847a88a1def
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Fri May 22 12:24:07 2015 -0400

    Resize the canvas at the end of canvas init
    
    Summary:
    wl_drm sets up a resize callback, so if the resize occurs before zone setup
    wl_drm's call to e_comp_canvas_update will setup extra zones (breaking the
    wizard).
    
    Reviewers: zmike, devilhorns
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D2567
    
     #butts
---
 src/bin/e_comp_canvas.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_canvas.c b/src/bin/e_comp_canvas.c
index 92da584..736993b 100644
--- a/src/bin/e_comp_canvas.c
+++ b/src/bin/e_comp_canvas.c
@@ -187,7 +187,6 @@ e_comp_canvas_init(int w, int h)
    e_comp->evas = ecore_evas_get(e_comp->ee);
    e_comp->w = w;
    e_comp->h = h;
-   ecore_evas_resize(e_comp->ee, w, h);
 
    if (e_first_frame)
      evas_event_callback_add(e_comp->evas, EVAS_CALLBACK_RENDER_POST, 
_e_comp_canvas_cb_first_frame, NULL);
@@ -234,6 +233,8 @@ e_comp_canvas_init(int w, int h)
    E_LIST_HANDLER_APPEND(handlers, E_EVENT_SCREENSAVER_ON, 
_e_comp_cb_screensaver_on, NULL);
    E_LIST_HANDLER_APPEND(handlers, E_EVENT_SCREENSAVER_OFF, 
_e_comp_cb_screensaver_off, NULL);
 
+   ecore_evas_resize(e_comp->ee, w, h);
+
    return EINA_TRUE;
 }
 

-- 


Reply via email to