aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-11 11:22:04 -0400
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-03-11 21:35:01 +0100
commitf7670ff5fd212d6db290cea4ac27ac4e8adb627e (patch)
treed8c4b60f48d96e1b2c018cd9e4a57b76c254cc7a /src/lib/elementary/efl_ui_win.c
parentefl: mark most generated eina.error vars as @beta (diff)
downloadefl-f7670ff5fd212d6db290cea4ac27ac4e8adb627e.tar.gz
efl.ui.win: add event info to 'rotation,changed' event and rename
be consistent with property name and '*,changed' event info convention ref https://phab.enlightenment.org/T7511 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D8293
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-rw-r--r--src/lib/elementary/efl_ui_win.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 553e42aed9..dde917663d 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -1644,8 +1644,9 @@ _win_rotate(Evas_Object *obj, Efl_Ui_Win_Data *sd, int rotation, Eina_Bool resiz
_elm_win_xwin_update(sd);
#endif
_elm_win_frame_obj_update(sd, 0);
- efl_event_callback_legacy_call
- (obj, EFL_UI_WIN_EVENT_ROTATION_CHANGED, NULL);
+ efl_event_callback_call
+ (obj, EFL_UI_WIN_EVENT_WIN_ROTATION_CHANGED, (void*)(uintptr_t)rotation);
+ evas_object_smart_callback_call(obj, "rotation,changed", NULL);
if (_elm_config->atspi_mode)
{
Evas_Coord x = 0, y = 0, width = 0, height = 0;