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: Fri, 28 Jun 2013 17:13:49 +0200

Hi.

28 jun 2013 kl. 16:03 skrev martin rudalics <address@hidden>:

> Let me try to recapitulate: The problem is what to do when saving and
> restoring a maximized frame.  We can't get the location/size it had
> before maximizing it easily, so Juanma's proposal goes as follows.
> 
> (1) Create the frame _ignoring_ the saved size/location related frame
>    parameters.
> 
> (2) Ask the window manager to maximize the frame.
> 
> When the user now demaximizes the frame, it will appear at its default
> location with a default size.  Does this match what you stated above?

Yes, except 1 and 2 are the same operation if the frame is created with the 
appropriate frame parameter.  The size/location info for the frame is ignored, 
so you don't really have to special case it so as not to set it.

        Jan D.




reply via email to

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