GNU bug report logs - #24107
25.1; menu-bar-size and tool-bar-size are reported inconsistently on w32

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Fri, 29 Jul 2016 18:00:02 UTC

Severity: normal

Found in version 25.1

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 24107 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 24107 <at> debbugs.gnu.org
Subject: Re: bug#24107: 25.1; menu-bar-size and tool-bar-size are reported
 inconsistently on w32
Date: Sat, 30 Jul 2016 11:39:22 +0200
[Message part 1 (text/plain, inline)]
> OK, but this means you can compute the width of the tool bar as you do
> for any other window, and then add to that the width of the fringes.
> Since on Windows the tool bar is just a special window which doesn't
> have fringes, this should be accurate, no?

It's not related to fringes.  I forgot to subtract the width of the
external borders.  Does the attached patch (mostly fixing indentation
hell) give the correct result?

martin
[w32fns.diff (text/plain, attachment)]

This bug report was last modified 9 years and 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.