forked from enlightenment/efl
elm win: use actual window size not requested to resize child objects
using requested size may not be correct, so use real size. this should solve issues in some wm's and actually also solved some kind of object size lag in wayland too. @fix - onward from 79b6edd1a6ad763258337b7aac5bd7799411bb44
This commit is contained in:
parent
a9d5bca3ad
commit
69e4eb576d
|
@ -819,7 +819,7 @@ _elm_win_resize_job(void *data)
|
||||||
int w, h;
|
int w, h;
|
||||||
|
|
||||||
sd->deferred_resize_job = EINA_FALSE;
|
sd->deferred_resize_job = EINA_FALSE;
|
||||||
ecore_evas_request_geometry_get(sd->ee, NULL, NULL, &w, &h);
|
ecore_evas_geometry_get(sd->ee, NULL, NULL, &w, &h);
|
||||||
if (sd->constrain)
|
if (sd->constrain)
|
||||||
{
|
{
|
||||||
int sw, sh;
|
int sw, sh;
|
||||||
|
|
Loading…
Reference in New Issue