forked from enlightenment/enlightenment
only apply buffered wl client maximize during configure if client is not maximized
fixes directional maximize
This commit is contained in:
parent
657bc713c7
commit
9516031e93
|
@ -1087,7 +1087,8 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
|
||||||
{
|
{
|
||||||
unsigned int max = (e_config->maximize_policy & E_MAXIMIZE_TYPE) | E_MAXIMIZE_BOTH;
|
unsigned int max = (e_config->maximize_policy & E_MAXIMIZE_TYPE) | E_MAXIMIZE_BOTH;
|
||||||
|
|
||||||
if (ec->maximized != max)
|
/* FIXME: server-side desync */
|
||||||
|
if (!ec->maximized)
|
||||||
{
|
{
|
||||||
e_client_maximize(ec, max);
|
e_client_maximize(ec, max);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue