if(VOLUME_ERROR_OK != volume_view_window_show(sound_type)) {
_E("Failed to show volume window");
}
- ecore_timer_add(1.0f, _volume_region_set_timer_cb, win);
+ ecore_timer_add(0.1f, _volume_region_set_timer_cb, win);
}
control_info.is_launching = EINA_TRUE;
return VOLUME_ERROR_OK;
}
+static void _iconified_cb(void *data, Evas_Object *obj, void *event_info)
+{
+ _D("ICONIFIED IS CALLED");
+}
+
Evas_Object *add_volume_window(const char *name)
{
Evas_Object *eo = NULL;
elm_win_screen_size_get(eo, &x, &y, &w, &h);
_D("volume screen size => x: %d, y: %d, w: %d, h: %d", x, y, w, h);
+ evas_object_smart_callback_add(eo, "iconified", _iconified_cb, NULL);
+
return eo;
}