ec->saved.w, ec->saved.h);
if (ec->saved.maximized)
- e_client_maximize(ec, (e_config->maximize_policy & E_MAXIMIZE_TYPE) |
+ e_client_maximize(ec, (ec->maximize_type & E_MAXIMIZE_TYPE) |
ec->saved.maximized);
e_client_layer_set(ec, ec->saved.layer);
{
unsigned int edges = 0;
- e_client_maximize(ec, ((e_config->maximize_policy & E_MAXIMIZE_TYPE) |
+ e_client_maximize(ec, ((ec->maximize_type & E_MAXIMIZE_TYPE) |
E_MAXIMIZE_BOTH));
edges = (WL_SHELL_SURFACE_RESIZE_TOP | WL_SHELL_SURFACE_RESIZE_LEFT);
if (!ec->lock_user_maximize)
{
e_client_maximize(ec,
- ((e_config->maximize_policy & E_MAXIMIZE_TYPE) | E_MAXIMIZE_BOTH));
+ ((ec->maximize_type & E_MAXIMIZE_TYPE) | E_MAXIMIZE_BOTH));
}
}
tzsh_srv,
_tzsh_cb_srv_destroy);
- if (tzsh_srv->ec->maximized)
- e_client_maximize(ec, E_MAXIMIZE_FULLSCREEN | E_MAXIMIZE_BOTH);
+ if (tzsh_srv->ec && tzsh_srv->ec->maximized)
+ {
+ tzsh_srv->ec->maximize_type = E_MAXIMIZE_TYPE_FULLSCREEN;
+ e_client_maximize(tzsh_srv->ec, tzsh_srv->ec->maximize_type | E_MAXIMIZE_BOTH);
+ }
if (role == TZSH_SRV_ROLE_QUICKPANEL_SYSTEM_DEFAULT)
e_service_quickpanel_client_add(tzsh_srv->ec, E_SERVICE_QUICKPANEL_TYPE_SYSTEM_DEFAULT);
{
e_client_layout_apply(ec, EINA_FALSE);
- max = (e_config->maximize_policy & E_MAXIMIZE_TYPE) | E_MAXIMIZE_BOTH;
+ max = ec->maximize_type | E_MAXIMIZE_BOTH;
e_client_maximize(ec, max);
}
}
ec->saved.w, ec->saved.h);
if (ec->saved.maximized)
- e_client_maximize(ec, (e_config->maximize_policy & E_MAXIMIZE_TYPE) |
+ e_client_maximize(ec, (ec->maximize_type & E_MAXIMIZE_TYPE) |
ec->saved.maximized);
e_client_layer_set(ec, ec->saved.layer);