From 4f2d53a2b237ed8aa34102cad57f0c745a59fda2 Mon Sep 17 00:00:00 2001 From: Shilpa Singh Date: Wed, 29 Nov 2017 20:06:39 +0530 Subject: [PATCH] efl_ui_win.c: send bounds changed signal on window rotation Change-Id: Ide6b3de02f62d73d4a7b24f5a611512028af2371 commit: https://phab.enlightenment.org/D5469 --- src/lib/elementary/efl_ui_win.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index 06e972e..a0144ef 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -1837,6 +1837,19 @@ _elm_win_state_change(Ecore_Evas *ee) (obj, EFL_UI_WIN_EVENT_ROTATION_CHANGED, NULL); efl_event_callback_legacy_call (obj, EFL_UI_WIN_EVENT_WM_ROTATION_CHANGED, NULL); + if (_elm_config->atspi_mode) + { + Evas_Coord x = 0, y = 0, width = 0, height = 0; + elm_win_screen_size_get(obj, &x, &y, &width, &height); + if ((sd->rot == 0) || (sd->rot == 180)) + { + efl_access_bounds_changed_signal_emit(obj, x, y, width, height); + } + else + { + efl_access_bounds_changed_signal_emit(obj, x, y, height, width); + } + } } // TIZEN_ONLY(20150707): elm_conform for wayland, and signal if parts are changed -- 2.7.4