help-emacs-windows
[Top][All Lists]
Advanced

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

RE: [h-e-w] Re: Opening a frame on a second monitor


From: Drew Adams
Subject: RE: [h-e-w] Re: Opening a frame on a second monitor
Date: Thu, 5 Nov 2009 10:33:22 -0800

> Thanks - you answered my question. The following frame alist opens a 
> frame on my second monitor when used with the make-frame function.
> 
> (setq second-frame-alist
>                '((top . 0)
>                  (left . -1280)
>                  (width . 150)
                   ...

FYI - You can use (x-display-pixel-width) to pick up the `1280' value
automatically, so it is correct regardless of the current display. In the case
of yours, it will be 1280.

So you could, if you wanted, use:
(setq second-frame-alist
      `((top . 0)
        (left . ,(x-display-pixel-width))
        (width . 150)
        ...





reply via email to

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