Re: [gtk-vnc-devel] [PATCH] gtkgl based scaling



Em Qua, 2008-02-06 às 13:05 -0600, Anthony Liguori escreveu:
> Jonh Wendell wrote:
> > Em Sáb, 2008-02-02 às 14:16 -0600, Anthony Liguori escreveu:
> >   
> >> I've just committed this patch (it's not in the 0.3.3 release).  Please 
> >> try it out and let me know what you think.
> >>
> >> I've modified gvncviewer so that it has a Full Screen and OpenGL Scaling 
> >> menu option.  The dependency on gtkglext is optional and there's also a 
> >> new optional dependency on libview.  This is only used by gvncviewer 
> >> though so I do not recommend that any distro packages make gtk-vnc 
> >> depend on libview.
> >>
> >>     
> >
> > Also, I think it is necessary an API to know if the gtk-vnc widget
> > supports scaling, in order to show or hide some menu item in the client.
> >
> > If, for some reason vinagre is being used in a system without scaling
> > (gtkgl), I don't want to show that option (scale) to the user, do you
> > understand?
> >
> > What do you think?
> >   
> 
> Yeah, I think that's reasonable.

Hmmm, now I see that vnc_display_set_scaling() returns FALSE if it
doesn't support scaling.

I think vinagre (and other applications that use gtk-vnc) can use this
return value to deal with the user.

Cheers,
-- 
Jonh Wendell
www.bani.com.br







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]