emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Height of tool bar doesn't shrink


From: Kim F. Storm
Subject: Re: Height of tool bar doesn't shrink
Date: Thu, 18 May 2006 00:23:47 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

MIYOSHI Masanori <address@hidden> writes:

>
> The following patch seems to fix the problem.
>

Thanks.  Installed.

I fixed some related anomalies if the tool-bar was split between
the small and the large icon.


> --- xdisp.c.orig      2006-05-16 22:35:06.997131800 +0900
> +++ xdisp.c   2006-05-17 19:07:04.587084800 +0900
> @@ -9549,6 +9549,7 @@
>    /* Make line the desired height and center it vertically.  */
>    if ((height -= it->max_ascent + it->max_descent) > 0)
>      {
> +      height %= FRAME_LINE_HEIGHT (it->f);
>        it->max_ascent += height / 2;
>        it->max_descent += (height + 1) / 2;
>      }
>
> --
> MIYOSHI Masanori http://miyoshi.meadowy.org/

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]