emacs-devel
[Top][All Lists]
Advanced

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

Re: How to restore the layout?


From: Jan Djärv
Subject: Re: How to restore the layout?
Date: Sun, 30 Jun 2013 09:51:25 +0200

Hello.

30 jun 2013 kl. 00:18 skrev Juanma Barranquero <address@hidden>:

> On Sat, Jun 29, 2013 at 10:39 AM, Stephen Leake
> <address@hidden> wrote:
> 
>> Moving the frame outside the current display is an issue; it would be
>> nice if the restore could detect that, and keep the frames in view.
> 
> How can I do that? Is there any way to get from Emacs the maximum
> dimensions of a frame in the current display, other than
> 
> (let ((frame (make-frame '((fullscreen . maximized)))))
>  (prog1
>      (cons (frame-width frame) (frame-height frame))
>    (delete-frame frame)))
> 
> which has the downside of being noticeable to the user?
> 

Take a look at display-monitor-attributes-list.

        Jan D.





reply via email to

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