+static Eina_Bool __configure_cb(void *data, int type, void *event)
+{
+ Ecore_Wl_Event_Window_Configure *ev = event;
+ widget_context_s *cxt = __find_context_by_win(ev->win);
+
+ LOGD("configure: %d %d", ev->w, ev->h);
+
+ if (!cxt) {
+ LOGE("unknown window error: %d", ev->win);
+ return ECORE_CALLBACK_RENEW;
+ }
+
+ if (cxt->state == WC_PAUSED || cxt->state == WC_RUNNING)
+ __instance_resize(cxt->provider, cxt->id, ev->w, ev->h, NULL);
+ LOGD("cxt:%s resized to %dx%d", cxt->id, ev->w, ev->h);
+
+ return ECORE_CALLBACK_RENEW;
+}
+