tzsr_list = eina_list_append(tzsr_list, tzsr);
}
+static void
+_tz_screen_rotation_iface_cb_destroy(struct wl_client *client, struct wl_resource *resource)
+{
+ wl_resource_destroy(resource);
+}
+
static const struct tizen_screen_rotation_interface _tz_screen_rotation_interface =
{
_tz_screen_rotation_get_ignore_output_transform,
+ _tz_screen_rotation_iface_cb_destroy,
};
static void
e_main_ts("\tE_Comp_WL Keymap Init Done");
/* try to add tizen_video to wayland globals */
- if (!wl_global_create(e_comp_wl->wl.disp, &tizen_screen_rotation_interface, 1,
+ if (!wl_global_create(e_comp_wl->wl.disp, &tizen_screen_rotation_interface, 2,
NULL, _tz_screen_rotation_cb_bind))
{
ERR("Could not add tizen_screen_rotation to wayland globals");