On Wed, Jun 8, 2016 at 5:40 PM Arnaud Vrac <[email protected]> wrote:

> The current panel was not set on show, which would prevent a hiding it
> again.
> ---
>  src/text-backend.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/text-backend.c b/src/text-backend.c
> index c32ec04..5a09f12 100644
> --- a/src/text-backend.c
> +++ b/src/text-backend.c
> @@ -348,6 +348,8 @@ text_input_show_input_panel(struct wl_client *client,
>                                text_input->surface);
>                 wl_signal_emit(&ec->update_input_panel_signal,
>                                &text_input->cursor_rectangle);
> +               if (text_input->manager->current_panel == NULL)
> +                       text_input->manager->current_panel = text_input;
>         }
>  }
>
> --
> 2.7.4
>
>
Looks good.

Reviewed-by: Jan Arne Petersen <[email protected]>
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to