only apply buffered wl client maximize during configure if client is not maximized

fixes directional maximize
This commit is contained in:
Mike Blumenkrantz 2016-04-07 14:00:25 -04:00
parent 657bc713c7
commit 9516031e93
1 changed files with 2 additions and 1 deletions

View File

@ -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;
if (ec->maximized != max)
/* FIXME: server-side desync */
if (!ec->maximized)
{
e_client_maximize(ec, max);
}