text: Add show/hide_input_panel requests

Allows to show/hide the input panel (virtual keyboard) more independent
of focus (some applications might to require additionaly click on a
focused entry to show the input panel).

Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
diff --git a/src/shell.c b/src/shell.c
index 4d5a4f3..ea4daa8 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -2846,6 +2846,9 @@
 			     hide_input_panel_listener);
 	struct weston_surface *surface, *next;
 
+	if (!shell->showing_input_panels)
+		return;
+
 	shell->showing_input_panels = false;
 
 	if (!shell->locked)