From 451a97136f59b64eeb86856a69665043a89707e3 Mon Sep 17 00:00:00 2001 From: Jan Arne Petersen Date: Mon, 11 Feb 2013 15:10:11 +0100 Subject: [PATCH] shell: Fix bug when input panel is shown twice Signed-off-by: Jan Arne Petersen --- src/shell.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/shell.c b/src/shell.c index 39987d58..1a1cfe83 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)