all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Re: Determining desktop size?
Date: Thu, 17 Mar 2005 00:25:34 +0100	[thread overview]
Message-ID: <x5u0nbgolt.fsf@lola.goethe.zz> (raw)
In-Reply-To: 1111013744.234400.148600@f14g2000cwb.googlegroups.com

"John" <jpwoodruff@irisinternet.net> writes:

> David Kastrup wrote:
>> PT <mailshield.gg@mailnull.com> writes:
>>
>> > Not the size of the emacs frame, the size of the whole graphical
>> > desktop.  Is it possible from elisp?
>>
>> C-h f display-pixel-height RET
>> C-h f display-pixel-width RET
>>
>> --
>> David Kastrup, Kriemhildstr. 15, 44793 Bochum
>
> This function proves to be not "the size of the whole graphical
> desktop" but instead "the size of the desktop when emacs started"!
>
> At least as tested on emacs 21.1 running on Windows XP.  When I resize
> the display during a run of emacs, later evaluations of
> (display-pixel-width) return the earlier value, not the present size of
> the display.

File a bug report.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2005-03-16 23:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-16 16:47 Determining desktop size? PT
2005-03-16 16:52 ` David Kastrup
2005-03-16 17:13   ` PT
2005-03-16 17:20     ` David Kastrup
2005-03-16 22:55   ` John
2005-03-16 23:25     ` David Kastrup [this message]
2005-03-19 18:26       ` John
2005-03-16 17:05 ` Drew Adams
2005-03-16 17:57   ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x5u0nbgolt.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.