always send geometry to configure method for wayland clients when not resizing

failure to set this would lead to clients changing geometry when maximized while
focus state was removed
This commit is contained in:
Mike Blumenkrantz 2015-07-24 16:34:18 -04:00
parent 0321fd690e
commit 9e4fe82fbc
1 changed files with 2 additions and 2 deletions

View File

@ -2254,7 +2254,7 @@ _e_comp_wl_client_cb_focus_set(void *data EINA_UNUSED, E_Client *ec)
{
if (ec->comp_data->shell.surface)
ec->comp_data->shell.configure_send(ec->comp_data->shell.surface,
0, 0, 0);
0, ec->client.w, ec->client.h);
}
//if ((ec->icccm.take_focus) && (ec->icccm.accepts_focus))
@ -2283,7 +2283,7 @@ _e_comp_wl_client_cb_focus_unset(void *data EINA_UNUSED, E_Client *ec)
{
if (ec->comp_data->shell.surface)
ec->comp_data->shell.configure_send(ec->comp_data->shell.surface,
0, 0, 0);
0, ec->client.w, ec->client.h);
}
_e_comp_wl_focus_check();