On Wed, Sep 9, 2015 at 11:28 AM, Gerd Hoffmann <[email protected]> wrote:
> free_scale field tracks zoom-fit menu toggle state,
> so we should keep them in sync ...
>
> Signed-off-by: Gerd Hoffmann <[email protected]>
> ---
>  ui/gtk.c | 1 +
>  1 file changed, 1 insertion(+)
>

signal handler is connected later, ok

Reviewed-by: Marc-André Lureau <[email protected]>

> diff --git a/ui/gtk.c b/ui/gtk.c
> index 322d112..2629d97 100644
> --- a/ui/gtk.c
> +++ b/ui/gtk.c
> @@ -1782,6 +1782,7 @@ static GSList *gd_vc_gfx_init(GtkDisplayState *s, 
> VirtualConsole *vc,
>
>      if (dpy_ui_info_supported(vc->gfx.dcl.con)) {
>          gtk_menu_item_activate(GTK_MENU_ITEM(s->zoom_fit_item));
> +        s->free_scale = true;
>      }
>
>      return group;
> --
> 1.8.3.1
>
>



-- 
Marc-André Lureau

Reply via email to