From: Jan Arne Petersen Date: Mon, 11 Feb 2013 14:10:11 +0000 (+0100) Subject: shell: Fix bug when input panel is shown twice X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=451a97136f59b64eeb86856a69665043a89707e3;p=profile%2Fivi%2Fweston-ivi-shell.git shell: Fix bug when input panel is shown twice Signed-off-by: Jan Arne Petersen --- diff --git a/src/shell.c b/src/shell.c index 39987d5..1a1cfe8 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2803,6 +2803,9 @@ show_input_panels(struct wl_listener *listener, void *data) struct input_panel_surface *surface, *next; struct weston_surface *ws; + if (shell->showing_input_panels) + return; + shell->showing_input_panels = true; if (!shell->locked)