summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-02-20 23:07:36 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-02-20 23:07:36 +0900
commita3bf6e4270d3b169c19055694f8c6f440068dab3 (patch)
tree89f80665526831091d56d5a5a92fd2209f9357c0
parent1ea29dd5ba998b3b5d01abd2bf275ec1a303c915 (diff)
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
-rw-r--r--src/lib/elm_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 398314ace..8004d295e 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -819,7 +819,7 @@ _elm_win_resize_job(void *data)
819 int w, h; 819 int w, h;
820 820
821 sd->deferred_resize_job = EINA_FALSE; 821 sd->deferred_resize_job = EINA_FALSE;
822 ecore_evas_request_geometry_get(sd->ee, NULL, NULL, &w, &h); 822 ecore_evas_geometry_get(sd->ee, NULL, NULL, &w, &h);
823 if (sd->constrain) 823 if (sd->constrain)
824 { 824 {
825 int sw, sh; 825 int sw, sh;