</description>
<arg name="map" type="array"/>
</event>
+ <enum name="input_panel_state">
+ <entry name="hide" value="0" summary="Notification prior to the dismissal of the input panel"/>
+ <entry name="show" value="1" summary="Notification after the display of the input panel"/>
+ </enum>
<event name="input_panel_state">
<description summary="state of the input panel">
Notify when the visibility state of the input panel changed.
EINA_LIST_FOREACH(text_input->input_methods, l, input_method)
{
if (input_method->model == text_input)
- e_input_panel_visibility_change(EINA_TRUE);
+ {
+ e_input_panel_visibility_change(EINA_TRUE);
+
+ if (text_input->resource)
+ wl_text_input_send_input_panel_state(text_input->resource,
+ WL_TEXT_INPUT_INPUT_PANEL_STATE_SHOW);
+ }
}
}
EINA_LIST_FOREACH(text_input->input_methods, l, input_method)
{
if (input_method && (input_method->model == text_input))
- e_input_panel_visibility_change(EINA_FALSE);
+ {
+ if (text_input->resource)
+ wl_text_input_send_input_panel_state(text_input->resource,
+ WL_TEXT_INPUT_INPUT_PANEL_STATE_HIDE);
+
+ e_input_panel_visibility_change(EINA_FALSE);
+ }
}
}