GNU bug report logs - #987
x-display-pixel-width not returning correct value after resolution change

Previous Next

Package: emacs;

Reported by: Baoqiu Cui <cbaoqiu <at> yahoo.com>

Date: Tue, 16 Sep 2008 17:50:04 UTC

Severity: normal

Merged with 986

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 987 in the body.
You can then email your comments to 987 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#987; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Baoqiu Cui <cbaoqiu <at> yahoo.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Baoqiu Cui <cbaoqiu <at> yahoo.com>
To: gnu-emacs-bug <at> moderators.isc.org
Subject: x-display-pixel-width not returning correct value after resolution change
Date: Tue, 16 Sep 2008 10:43:44 -0700
It seems that function x-display-pixel-width behaves a little
differently in GNU Emacs and XEmacs.

In XEmacs, (x-display-pixel-width) can recognize the display resolution
changes after XEmacs is started.  For example, if the display resolution
was originally set to 1400x1050 when XEmacs was started,
(x-display-pixel-width) would return 1400; then, if the display
resolution is changed to 1280x1024 while XEmacs is still running,
(x-display-pixel-width) would return 1280.

However, (x-display-pixel-width) on GNU Emacs is NOT able to recognize
such physical display resolution change (from 1400x1050 to 1280x1024)
and will still return 1400.

I am not sure if this is a bug or feature on GNU Emacs, but I would like
to see this function work like its counterpart in XEmacs.

Regards,
Baoqiu





Merged 986 987. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 16 Sep 2008 18:05:07 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Fri, 17 Oct 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 309 days ago.

Previous Next


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