discomfitor pushed a commit to branch master.

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

commit 15d13dad167bb97fdf747114b74cf89d53df632a
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Fri Aug 7 14:52:33 2015 -0400

    wayland: Always add frame callbacks to current state on commit
    
    Summary: Previously we ignored it for unmapped surfaces.
    
    Reviewers: devilhorns, zmike
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D2932
---
 src/bin/e_comp_wl.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 6d4b267..b6e4686 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1131,6 +1131,12 @@ _e_comp_wl_surface_state_commit(E_Client *ec, 
E_Comp_Wl_Surface_State *state)
    state->sy = 0;
    state->new_attach = EINA_FALSE;
 
+   /* insert state frame callbacks into comp_data->frames
+    * NB: This clears state->frames list */
+   ec->comp_data->frames = eina_list_merge(ec->comp_data->frames,
+                                           state->frames);
+   state->frames = NULL;
+
    ec->ignored = ignored;
    if (!ec->comp_data->mapped) goto unmapped;
 
@@ -1201,11 +1207,6 @@ _e_comp_wl_surface_state_commit(E_Client *ec, 
E_Comp_Wl_Surface_State *state)
         eina_tiler_free(tmp);
      }
 
-   /* insert state frame callbacks into comp_data->frames
-    * NB: This clears state->frames list */
-   ec->comp_data->frames = eina_list_merge(ec->comp_data->frames, 
state->frames);
-   state->frames = NULL;
-
    return;
 
 unmapped:

-- 


Reply via email to