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: martin rudalics
Subject: Re: How to restore the layout?
Date: Fri, 05 Jul 2013 09:45:20 +0200

> I think it's an Emacs limitation that it doesn't really use the window
> manager maximization. Which is strange, because it is available:
>
>   (w32-send-sys-command #xf030)
>
> et voilĂ . The problem being, I think, that we have no reliable way to
> know wheter an Emacs frame is in that state (there's left and top
> being -8, but that depends on UI settings).

It's part of the WINDOWPLACEMENT structure, IIUC.

> I think at this point the only sensible thing to do is to recommend
> people wanting to save & restore frames to use
> toggle-frame-(maximized|fullscreen) instead of wm maximization. :-(

I think we can get it right.  In the worst case we have to send a
maximze request _after_ we're done with all other parts of window
restoration.

martin




reply via email to

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