shell: Fix bug when input panel is shown twice

Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
dev
Jan Arne Petersen 12 years ago committed by Kristian Høgsberg
parent 0c36903fb3
commit 451a97136f
  1. 3
      src/shell.c

@ -2803,6 +2803,9 @@ show_input_panels(struct wl_listener *listener, void *data)
struct input_panel_surface *surface, *next; struct input_panel_surface *surface, *next;
struct weston_surface *ws; struct weston_surface *ws;
if (shell->showing_input_panels)
return;
shell->showing_input_panels = true; shell->showing_input_panels = true;
if (!shell->locked) if (!shell->locked)

Loading…
Cancel
Save