aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-07-28 16:30:41 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-07-28 16:30:41 +0900
commit28aa0ba79fc10920c89827dda94ead8f3bde9d28 (patch)
tree6393c41f74e9b6a3eb9f1bfe356412afc786ea34 /src/lib/elementary
parentedje entry - check all minor struct callocs and on fail report + unwind (diff)
downloadefl-28aa0ba79fc10920c89827dda94ead8f3bde9d28.tar.gz
win: Fix evas framespace under X
Mouse inputs would not work if the window is rotated, because the framespace was invalid. Fixes https://phab.enlightenment.org/T4132
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_win.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 21c9ccffa4..36c32bba4d 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -1350,6 +1350,7 @@ _elm_win_frame_obj_update(Efl_Ui_Win_Data *sd)
return;
}
+ if (!sd->frame_obj) return;
evas_object_geometry_get(sd->frame_obj, &fx, &fy, &fw, &fh);
evas_object_geometry_get(sd->edje, &ox, &oy, &ow, &oh);