set shell-less wl surface mapped state regardless of visibility during commit
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 22 Jul 2015 21:09:14 +0000 (17:09 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 22 Jul 2015 21:09:14 +0000 (17:09 -0400)
new_client flag here will defer show operations, but the operations will complete

src/bin/e_comp_wl.c

index 20f84ac..fd97de4 100644 (file)
@@ -998,7 +998,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
                {
                   ec->visible = EINA_FALSE;
                   evas_object_hide(ec->frame);
-                  ec->comp_data->mapped = evas_object_visible_get(ec->frame);
+                  ec->comp_data->mapped = 0;
                }
           }
      }
@@ -1013,7 +1013,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
                   ec->visible = EINA_TRUE;
                   ec->ignored = 0;
                   evas_object_show(ec->frame);
-                  ec->comp_data->mapped = evas_object_visible_get(ec->frame);
+                  ec->comp_data->mapped = 1;
                }
           }
      }
@@ -2712,7 +2712,7 @@ e_comp_wl_surface_commit(E_Client *ec)
                {
                   ec->visible = EINA_FALSE;
                   evas_object_hide(ec->frame);
-                  ec->comp_data->mapped = evas_object_visible_get(ec->frame);
+                  ec->comp_data->mapped = 0;
                }
           }
      }
@@ -2727,7 +2727,7 @@ e_comp_wl_surface_commit(E_Client *ec)
                   ec->visible = EINA_TRUE;
                   ec->ignored = 0;
                   evas_object_show(ec->frame);
-                  ec->comp_data->mapped = evas_object_visible_get(ec->frame);
+                  ec->comp_data->mapped = 1;
                }
           }
      }