set client visibility for shell-less wayland clients appropriately during commit
authorMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 25 Jun 2015 23:22:49 +0000 (19:22 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Fri, 26 Jun 2015 00:04:31 +0000 (20:04 -0400)
src/bin/e_comp_wl.c

index ac5d377..9d230b9 100644 (file)
@@ -1121,6 +1121,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
                ec->comp_data->shell.unmap(ec->comp_data->shell.surface);
              else
                {
+                  ec->visible = EINA_FALSE;
                   evas_object_hide(ec->frame);
                   ec->comp_data->mapped = evas_object_visible_get(ec->frame);
                }
@@ -1134,6 +1135,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
                ec->comp_data->shell.map(ec->comp_data->shell.surface);
              else
                {
+                  ec->visible = EINA_TRUE;
                   evas_object_show(ec->frame);
                   ec->comp_data->mapped = evas_object_visible_get(ec->frame);
                }
@@ -2710,6 +2712,7 @@ e_comp_wl_surface_commit(E_Client *ec)
                ec->comp_data->shell.unmap(ec->comp_data->shell.surface);
              else
                {
+                  ec->visible = EINA_FALSE;
                   evas_object_hide(ec->frame);
                   ec->comp_data->mapped = evas_object_visible_get(ec->frame);
                }
@@ -2723,6 +2726,7 @@ e_comp_wl_surface_commit(E_Client *ec)
                ec->comp_data->shell.map(ec->comp_data->shell.surface);
              else
                {
+                  ec->visible = EINA_TRUE;
                   evas_object_show(ec->frame);
                   ec->comp_data->mapped = evas_object_visible_get(ec->frame);
                }