clutter: Make ClutterInputFocus API to set panel state explicit
Before we just had API to toggle the OSK panel state. Make this API generic so the upper layers may set the state as they see fit. All callers have been updated. https://gitlab.gnome.org/GNOME/mutter/merge_requests/432
This commit is contained in:

committed by
Carlos Garnacho

parent
033a771e8c
commit
3fd0e23ed9
@ -549,7 +549,7 @@ text_input_commit_state (struct wl_client *client,
|
||||
meta_wayland_text_input_reset (text_input);
|
||||
|
||||
if (toggle_panel)
|
||||
clutter_input_focus_request_toggle_input_panel (focus);
|
||||
clutter_input_focus_set_input_panel_state (focus, CLUTTER_INPUT_PANEL_STATE_TOGGLE);
|
||||
}
|
||||
|
||||
static struct zwp_text_input_v3_interface meta_text_input_interface = {
|
||||
|
Reference in New Issue
Block a user