maximization bug affecting libreoffice and others - fix
the problem is something changes window gravity... what i don't know, but hey - just forcibly move window to 0,0 which is where we expect it anyway when resizing. @fix
This commit is contained in:
parent
fa4a0ef7cc
commit
c87ca3e892
|
@ -516,9 +516,9 @@ _e_comp_x_post_client_idler_cb(void *d EINA_UNUSED)
|
||||||
ec->client.w,
|
ec->client.w,
|
||||||
ec->client.h);
|
ec->client.h);
|
||||||
if (ec->comp_data->reparented)
|
if (ec->comp_data->reparented)
|
||||||
ecore_x_window_resize(e_client_util_win_get(ec),
|
ecore_x_window_move_resize(e_client_util_win_get(ec), 0, 0,
|
||||||
ec->client.w,
|
ec->client.w,
|
||||||
ec->client.h);
|
ec->client.h);
|
||||||
}
|
}
|
||||||
else if (ec->post_move)
|
else if (ec->post_move)
|
||||||
{
|
{
|
||||||
|
@ -531,8 +531,8 @@ _e_comp_x_post_client_idler_cb(void *d EINA_UNUSED)
|
||||||
ecore_x_window_resize(win,
|
ecore_x_window_resize(win,
|
||||||
ec->client.w, ec->client.h);
|
ec->client.w, ec->client.h);
|
||||||
if (ec->comp_data->reparented)
|
if (ec->comp_data->reparented)
|
||||||
ecore_x_window_resize(e_client_util_win_get(ec),
|
ecore_x_window_move_resize(e_client_util_win_get(ec), 0, 0,
|
||||||
ec->client.w, ec->client.h);
|
ec->client.w, ec->client.h);
|
||||||
}
|
}
|
||||||
if ((!ec->shading) && (!ec->shaded))
|
if ((!ec->shading) && (!ec->shaded))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue