[Xfce4-commits] r13692 - xfce4-panel/trunk/panel

Olivier Fourdan fourdan at xfce.org
Tue Apr 19 22:22:49 CEST 2005


Hi Jasper,

> Try to be a bit more accurate when calculating struts.

It's better but still off by a few pixels.

HTH
Olivier.

On Tue, 2005-04-19 at 19:19 +0000, xfce4-commits-bounces at xfce.org wrote:
> Author: jasper
> Date: 2005-04-19 19:19:54 +0000 (Tue, 19 Apr 2005)
> New Revision: 13692
> 
> Modified:
>    xfce4-panel/trunk/panel/panel.c
> Log:
> Try to be a bit more accurate when calculating struts.
> 
> Modified: xfce4-panel/trunk/panel/panel.c
> ===================================================================
> --- xfce4-panel/trunk/panel/panel.c	2005-04-19 14:09:25 UTC (rev 13691)
> +++ xfce4-panel/trunk/panel/panel.c	2005-04-19 19:19:54 UTC (rev 13692)
> @@ -214,8 +214,8 @@
>  
>  	x = p->position.x;
>  	y = p->position.y;
> -	w = p->priv->req.width;
> -	h = p->priv->req.height;
> +	w = p->toplevel->allocation.width;
> +	h = p->toplevel->allocation.height;
>  
>  	switch (p->priv->side)
>  	{
> 
> _______________________________________________
> Xfce4-commits mailing list
> Xfce4-commits at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-commits
> 





More information about the Xfce4-dev mailing list