Re: [gtk-vnc-devel] PATCH: Clear areas outside of framebuffer region



Em Qua, 2007-08-22 às 17:52 +0100, Daniel P. Berrange escreveu:
> If the GTK-VNC widget gets resized to be larger than the region taken up
> by the remote framebuffer, the excess space just gets filled with random
> garbage.  This is seen in Vinagre if you hit "Full Screen"
> 
> The attached patch calls gdk_draw_rectangle to fill the excess space with
> a solid colour (black). It uses a clip mask to ensure we don't clear the
> space where the actual framebuffer is & thus avoids flickr that would entail.

The patch worked fine to me.

BTW, What do you think about putting the widget in the middle of area,
instead of top left?

And, when will we have scaling support? :) hehe

Thanks,
-- 
Jonh Wendell
jonh wendell gmail com (MSN / Google Talk)

Linux User #114432
https://launchpad.net/~wendell





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