// send transaction end
ecore_imf_context_event_callback_call(imcontext->ctx, ECORE_IMF_CALLBACK_PRIVATE_COMMAND_SEND, (void *)"TRANSACTION_END");
}
+
+static void
+text_input_input_panel_event(void *data,
+ struct wl_text_input *text_input EINA_UNUSED,
+ uint32_t serial EINA_UNUSED,
+ uint32_t event_type,
+ uint32_t value)
+{
+ WaylandIMContext *imcontext = (WaylandIMContext *)data;
+ if (!imcontext || !imcontext->ctx) return;
+
+ LOGD("event type : %d, value : %d\n", event_type, value);
+
+ ecore_imf_context_input_panel_event_callback_call(imcontext->ctx, event_type, value);
+}
//
static const struct wl_text_input_listener text_input_listener =
text_input_filter_key_event_done,
text_input_hide_permission,
text_input_recapture_string,
- text_input_commit_content
+ text_input_commit_content,
+ text_input_input_panel_event
//
};
}
}
+ void
+ update_ise_input_context (int client, uint32 context, uint32 type, uint32 value) {
+ if (!_focused_ic || !_focused_ic->im_ctx)
+ return;
+
+ wl_input_method_context_input_panel_event (_focused_ic->im_ctx, _focused_ic->serial, type, value);
+ }
+
#if 0
void
request_help (int id, uint32 context_id) {