GNU bug report logs - #7296
display-pixel-height not enough

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Thu, 28 Oct 2010 10:08:02 UTC

Severity: minor

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: bug-gnu-emacs <at> gnu.org, "Jan D." <jan.h.d <at> swipnet.se>
Subject: bug#7296: display-pixel-height not enough
Date: Tue, 2 Nov 2010 17:10:32 +0100
On Tue, Nov 2, 2010 at 3:53 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
>> it is the only way to correctly make an Emacs frame full
>> height or full width or fullscreen or maximized.  It lets the WM do the
>> job, so Emacs doesn't need to count pixels and panels and taskbars and
>> autohide and whatever.
>
> I think the only practical way of doing the same on Windows is to
> exclude the area reserved for the task bar.  It could be that in a few
> rare cases this will produce less pixels than are strictly possible.
> So what are the objections to this (my original suggestion) at this
> point?  To be 100% clear, I suggest:
>
>  . on w32, return the dimensions sans the reserved part(s)
>  . on other GUI platforms, no change from the current behavior

Please see Stefan's objection and my reply to that. In addition to
that I suggest that we clearly document that
display-pixel-height/width returns the total size (even if that seems
self evident to some here).




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

Previous Next


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