forked from enlightenment/enlightenment
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:
parent
0321fd690e
commit
9e4fe82fbc
|
@ -2254,7 +2254,7 @@ _e_comp_wl_client_cb_focus_set(void *data EINA_UNUSED, E_Client *ec)
|
||||||
{
|
{
|
||||||
if (ec->comp_data->shell.surface)
|
if (ec->comp_data->shell.surface)
|
||||||
ec->comp_data->shell.configure_send(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))
|
//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)
|
if (ec->comp_data->shell.surface)
|
||||||
ec->comp_data->shell.configure_send(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();
|
_e_comp_wl_focus_check();
|
||||||
|
|
Loading…
Reference in New Issue