[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display-mm-width return value off on Windows

From: Ralf Angeli
Subject: Re: display-mm-width return value off on Windows
Date: Thu, 13 Jul 2006 21:38:13 +0200

* Richard Stallman (2006-07-12) writes:

> This approach has a problem: it assumes there is just one display (or
> that all displays have the same size).  The right way to do this is to
> let the user specify the size of each display individually.  It could
> be done with a frame parameter.

Okay.  Would it then suffice to pick an arbitrary frame on the display
given as the argument of `display-mm-width' and check the parameter of
that frame?  That could be done with something like

(let ((frame-list (frames-on-display-list display)))
  (when frame-list
    (frame-parameter (car frame-list) 'display-mm-width)))

assuming the frame parameter is called `display-mm-width'.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]