{
E_Client *ec;
- DBG("Shell Surface Destroy: %d", wl_resource_get_id(resource));
+ /* DBG("Shell Surface Destroy: %d", wl_resource_get_id(resource)); */
/* get the client for this resource */
if ((ec = wl_resource_get_user_data(resource)))
ec->borderless = !ec->internal;
ec->lock_border = EINA_TRUE;
ec->border.changed = ec->changes.border = !ec->borderless;
- ec->changes.icon = !!ec->icccm.class;
ec->netwm.type = E_WINDOW_TYPE_NORMAL;
ec->comp_data->set_win_type = EINA_TRUE;
if ((!ec->lock_user_maximize) && (ec->maximized))
/* set class */
eina_stringshare_replace(&ec->icccm.class, id);
/* eina_stringshare_replace(&ec->netwm.name, id); */
- ec->changes.icon = EINA_TRUE;
+ ec->changes.icon = !!ec->icccm.class;
EC_CHANGED(ec);
}
ec->borderless = !ec->internal;
ec->lock_border = EINA_TRUE;
ec->border.changed = ec->changes.border = !ec->borderless;
- ec->changes.icon = !!ec->icccm.class;
ec->netwm.type = E_WINDOW_TYPE_NORMAL;
ec->comp_data->set_win_type = EINA_TRUE;
EC_CHANGED(ec);