Some blurriness in gnome desktop

Martin Sourada martin.sourada at gmail.com
Wed Oct 28 15:07:33 UTC 2009


On Wed, 2009-10-28 at 14:16 +0000, Bastien Nocera wrote:
> On Wed, 2009-10-28 at 12:23 +0100, Martin Sourada wrote:
> > Actually, I've just found the source of blurriness:
> > in draw_action_brightness():
> > +        /* draw volume meter */
> > +        draw_volume_boxes (window,
> > +                           cr,
> > +                           (double)window->priv->volume_level / 100.0,
> > +                           bright_box_x0 + 0.5,
> > +                           bright_box_y0 + 0.5,
> > +                           bright_box_width,
> > +                           bright_box_height);
> > should be
> > +        /* draw volume meter */
> > +        draw_volume_boxes (window,
> > +                           cr,
> > +                           (double)window->priv->volume_level / 100.0,
> > +                           bright_box_x0,
> > +                           bright_box_y0,
> > +                           bright_box_width,
> > +                           bright_box_height);
> > as you are adding the 0.5 inside the draw_volume_boxes() already.
> 
> Good catch. That was some left-over from previous patches.
> 
> > Not sure about the positioning issue though.
> 
> Should be fixed in:
> http://koji.fedoraproject.org/koji/buildinfo?buildID=138737
> 

Thanks, it's now crisp and positioned correctly :)

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/desktop/attachments/20091028/623e6ec6/attachment.bin 


More information about the desktop mailing list