discomfitor pushed a commit to branch master.

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

commit 039c08617e6a5049372d2b6e3aa5481c973710fd
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Jan 20 16:20:41 2016 -0500

    remove duplicate visibility setting blocks from wayland surface commit
    
    this is already present (and identical) in state commit
---
 src/bin/e_comp_wl.c | 34 ----------------------------------
 1 file changed, 34 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index bcad1f2..7efa6b5 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -2736,44 +2736,10 @@ e_comp_wl_surface_create(struct wl_client *client, int 
version, uint32_t id)
 EINTERN Eina_Bool
 e_comp_wl_surface_commit(E_Client *ec)
 {
-   Eina_Bool ignored;
-
    _e_comp_wl_surface_state_commit(ec, &ec->comp_data->pending);
    if (!e_comp_object_damage_exists(ec->frame))
      e_pixmap_image_clear(ec->pixmap, 1);
 
-   ignored = ec->ignored;
-
-   if (!e_pixmap_usable_get(ec->pixmap))
-     {
-        if (ec->comp_data->mapped)
-          {
-             if ((ec->comp_data->shell.surface) && 
(ec->comp_data->shell.unmap))
-               ec->comp_data->shell.unmap(ec->comp_data->shell.surface);
-             else if (ec->comp_data->cursor || e_client_has_xwindow(ec))
-               {
-                  ec->visible = EINA_FALSE;
-                  evas_object_hide(ec->frame);
-                  ec->comp_data->mapped = 0;
-               }
-          }
-     }
-   else
-     {
-        if (!ec->comp_data->mapped)
-          {
-             if ((ec->comp_data->shell.surface) && (ec->comp_data->shell.map))
-               ec->comp_data->shell.map(ec->comp_data->shell.surface);
-             else if (ec->comp_data->cursor || e_client_has_xwindow(ec))
-               {
-                  ec->visible = EINA_TRUE;
-                  ec->ignored = 0;
-                  evas_object_show(ec->frame);
-                  ec->comp_data->mapped = 1;
-               }
-          }
-     }
-   ec->ignored = ignored;
    return EINA_TRUE;
 }
 

-- 


Reply via email to