unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Alan Third <alan@idiocy.org>
Cc: emacs-devel@gnu.org
Subject: Re: dpyinfo
Date: Thu, 10 Dec 2020 15:57:47 +0200	[thread overview]
Message-ID: <83sg8d4vc4.fsf@gnu.org> (raw)
In-Reply-To: <X9FH7NtbqWg0OR9U@breton.holly.idiocy.org> (message from Alan Third on Wed, 9 Dec 2020 21:55:56 +0000)

> Date: Wed, 9 Dec 2020 21:55:56 +0000
> From: Alan Third <alan@idiocy.org>
> 
> I've been looking at using the screen's actual DPI setting when
> generating SVG files for bug 45124 and I was wondering if the dpyinfo
> struct is updated as the frame moves from screen to screen? My guess
> is that it's not, and it's only set when the frame is created?

The resolution is set in init_xterm, so I'd expect it to be run
whenever a new display is open, not when a frame is created.  What
happens when one moves from one screen to another, I don't know, but
if they are on the same X display, the resolution indeed doesn't
change, AFAICT.



  reply	other threads:[~2020-12-10 13:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-09 21:55 dpyinfo Alan Third
2020-12-10 13:57 ` Eli Zaretskii [this message]
2020-12-10 19:48   ` dpyinfo Alan Third

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83sg8d4vc4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=alan@idiocy.org \
    --cc=emacs-devel@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).