It is required to set the current_panel to the text_input when the input_panel
becomes visible at the first time.
+Updated for weston 5.0.0 by Scott Murray <scott.murray@konsulko.com>.
+
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
+Signed-off-by: Scott Murray <scott.murray@konsulko.com>
---
compositor/text-backend.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/compositor/text-backend.c b/compositor/text-backend.c
-index ab4667f..36c70a5 100644
+index 664c36f7..b610dfb1 100644
--- a/compositor/text-backend.c
+++ b/compositor/text-backend.c
-@@ -337,6 +337,7 @@ text_input_show_input_panel(struct wl_client *client,
+@@ -349,6 +349,7 @@ text_input_show_input_panel(struct wl_client *client,
text_input->surface);
wl_signal_emit(&ec->update_input_panel_signal,
&text_input->cursor_rectangle);
-+ text_input->manager->current_panel = text_input;
++ text_input->manager->current_text_input = text_input;
}
}
---
-1.9.1
-