int window_w, window_h;
ecore_wl_screen_size_get(&window_w, &window_h);
- _tizen_ecore_ipc_client_send(OP_INDICATOR_SHOW, wind->rotation, 0, videoData->indicator_mode);
+ _tizen_ecore_ipc_client_send(OP_INDICATOR_SHOW, wind->rotation, wind->g_res_id, videoData->indicator_mode);
return ECORE_CALLBACK_DONE;
}
return ECORE_CALLBACK_PASS_ON;
}
+static Eina_Bool _tizen_cb_event_window_show(void *data, int type, void *event)
+{
+ Ecore_Wl_Event_Window_Show *e;
+ uint32_t g_res_id = 0;
+
+ e = event;
+ if (e->data[0] > 0)
+ g_res_id = e->data[0];
+
+ if(g_res_id!=0)
+ {
+ SDL_VideoData *this = SDL_GetVideoDevice()->driverdata;
+ SDL_Window * window = (SDL_Window*)eina_hash_find(this->windows, &e->win);
+ SDL_WindowData *wind = window->driverdata;
+ wind->g_res_id = g_res_id;
+ SDL_Log("[SDL] SDL Window Resource ID %d", g_res_id);
+ }
+
+ return ECORE_CALLBACK_PASS_ON;
+}
+
int
Tizen_InitWindow(_THIS)
{
_tizen_cb_event_window_rotate,_this);
ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_CONFIGURE,
_tizen_cb_window_configure,_this);
+ ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_SHOW,
+ _tizen_cb_event_window_show, _this);
ecore_event_handler_add(ECORE_EVENT_KEY_UP,
_tizen_cb_event_keyup_change,_this);