send xdg surface configure message when we maximize/unmaximize.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-10-06 15:57:36 -04:00
parent 011600b54d
commit 40935c3c45
1 changed files with 7 additions and 3 deletions

View File

@ -907,9 +907,12 @@ _e_xdg_shell_surface_cb_maximized_set(struct wl_client *client EINA_UNUSED, stru
return;
}
if (!ec->lock_user_maximize)
e_client_maximize(ec, (e_config->maximize_policy & E_MAXIMIZE_TYPE) |
E_MAXIMIZE_BOTH);
if (!ec->lock_user_maximize)
{
e_client_maximize(ec, ((e_config->maximize_policy & E_MAXIMIZE_TYPE) |
E_MAXIMIZE_BOTH));
_e_xdg_shell_surface_configure_send(resource, 0, ec->w, ec->h);
}
}
static void
@ -927,6 +930,7 @@ _e_xdg_shell_surface_cb_maximized_unset(struct wl_client *client EINA_UNUSED, st
}
e_client_unmaximize(ec, E_MAXIMIZE_BOTH);
_e_xdg_shell_surface_configure_send(resource, 0, ec->w, ec->h);
}
static void