[PATCH 1/3] shell: Fix bug when input panel is shown twice

Kristian Høgsberg hoegsberg at gmail.com
Thu Feb 14 18:39:33 PST 2013


On Mon, Feb 11, 2013 at 03:10:11PM +0100, Jan Arne Petersen wrote:
> From: Jan Arne Petersen <jpetersen at openismus.com>
> 
> Signed-off-by: Jan Arne Petersen <jpetersen at openismus.com>
> ---
>  src/shell.c | 3 +++
>  1 file changed, 3 insertions(+)

This looks good, committed - is this the fix for 

https://bugs.freedesktop.org/show_bug.cgi?id=56543

?

Kristian

> diff --git a/src/shell.c b/src/shell.c
> index 6e0db35..8c3a452 100644
> --- a/src/shell.c
> +++ b/src/shell.c
> @@ -2772,6 +2772,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)
> -- 
> 1.8.1.2
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list