[elm_win] added missing rotation changed signal to win state changed callback
authorGwanglim Lee <gl77.lee@samsung.com>
Wed, 27 Mar 2013 07:55:34 +0000 (16:55 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Thu, 28 Mar 2013 02:52:56 +0000 (11:52 +0900)
Change-Id: Id10cce5e39ec46016be7170178b2050de6469ad5

src/lib/elm_win.c

index 1d4ae1d..1f84068 100755 (executable)
@@ -219,6 +219,10 @@ static Ecore_Job *_elm_win_state_eval_job = NULL;
 
 static void _elm_win_resize_objects_eval(Evas_Object *obj);
 
+#ifdef HAVE_ELEMENTARY_X
+static void _elm_win_xwin_update(Elm_Win_Smart_Data *sd);
+#endif
+
 static void
 _elm_win_obj_intercept_show(void *data, Evas_Object *obj)
 {
@@ -1058,8 +1062,11 @@ _elm_win_state_change(Ecore_Evas *ee)
         evas_object_size_hint_min_set(obj, -1, -1);
         evas_object_size_hint_max_set(obj, -1, -1);
         _elm_win_resize_objects_eval(obj);
+#ifdef HAVE_ELEMENTARY_X
+        _elm_win_xwin_update(sd);
+#endif
         elm_widget_orientation_set(obj, sd->rot);
-
+        evas_object_smart_callback_call(obj, SIG_ROTATION_CHANGED, NULL);
         evas_object_smart_callback_call(obj, SIG_WM_ROTATION_CHANGED, NULL);
      }
 }