forked from enlightenment/enlightenment
don't do full client rescale on x11 hint change if not maximized/fullscreen
regular windows don't get moved here, only resized if hints change fix T6072
This commit is contained in:
parent
fb572c4c9d
commit
3b319b5ef9
|
@ -3871,7 +3871,17 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ec->placed && (!e_client_util_resizing_get(ec)) && (!ec->override))
|
if (ec->placed && (!e_client_util_resizing_get(ec)) && (!ec->override))
|
||||||
e_client_rescale(ec);
|
{
|
||||||
|
if (ec->fullscreen || ec->maximized)
|
||||||
|
e_client_rescale(ec);
|
||||||
|
else
|
||||||
|
{
|
||||||
|
int rw = ec->w, rh = ec->h;
|
||||||
|
|
||||||
|
e_client_resize_limit(ec, &rw, &rh);
|
||||||
|
evas_object_resize(ec->frame, rw, rh);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (ec->icccm.min_w > 32767) ec->icccm.min_w = 32767;
|
if (ec->icccm.min_w > 32767) ec->icccm.min_w = 32767;
|
||||||
if (ec->icccm.min_h > 32767) ec->icccm.min_h = 32767;
|
if (ec->icccm.min_h > 32767) ec->icccm.min_h = 32767;
|
||||||
|
|
Loading…
Reference in New Issue