discomfitor pushed a commit to branch master.

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

commit b9b9ed68b040702666389448229b4e80f5484600
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Apr 4 12:44:46 2016 -0400

    remove video child references from wl compositor
    
    this is an x11-only thing
---
 src/bin/e_comp_wl.c | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 73cc1be..d69e858 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -107,10 +107,8 @@ _e_comp_wl_cb_module_idle(void *data EINA_UNUSED)
 static void
 _e_comp_wl_evas_cb_show(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *event EINA_UNUSED)
 {
-   E_Client *ec, *tmp;
-   Eina_List *l;
+   E_Client *ec = data;
 
-   if (!(ec = data)) return;
    if (e_object_is_del(E_OBJECT(ec))) return;
 
    if (!ec->override) e_hints_window_visible_set(ec);
@@ -123,21 +121,12 @@ _e_comp_wl_evas_cb_show(void *data, Evas *evas 
EINA_UNUSED, Evas_Object *obj EIN
         else
           evas_object_focus_set(ec->frame, !starting);
      }
-
-   EINA_LIST_FOREACH(ec->e.state.video_child, l, tmp)
-     evas_object_show(tmp->frame);
 }
 
 static void
 _e_comp_wl_evas_cb_hide(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *event EINA_UNUSED)
 {
-   E_Client *ec, *tmp;
-   Eina_List *l;
-
-   if (!(ec = data)) return;
-
-   EINA_LIST_FOREACH(ec->e.state.video_child, l, tmp)
-     evas_object_hide(tmp->frame);
+   E_Client *ec = data;
 
    if (!e_object_is_del(E_OBJECT(ec))) return;
 

-- 


Reply via email to