From: Shilpa Singh Date: Wed, 29 Nov 2017 14:36:39 +0000 (+0530) Subject: efl_ui_win.c: send bounds changed signal on window rotation X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~859 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f2d53a2b237ed8aa34102cad57f0c745a59fda2;p=platform%2Fupstream%2Fefl.git efl_ui_win.c: send bounds changed signal on window rotation Change-Id: Ide6b3de02f62d73d4a7b24f5a611512028af2371 commit: https://phab.enlightenment.org/D5469 --- 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