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 10:13:57 +0200

Hello.

27 jun 2013 kl. 22:49 skrev martin rudalics <address@hidden>:

> >> This means one slot for each frame edge ;-)
> >
> > Is that price too high? :-)
> 
> On Windows we could use GetWindowPlacement which IIUC reliably gives us
> the coordiantes of the normal window.  But Jan will almost certainly
> tell us that with some window managers size hints are not trustworthy,
> so we'd have to, before each maximize / minimize / fullscreen command,
> record the normal coordinates which is also tedious because we'd have
> to know for sure that the window _is_ maximized / minimized /
> fullscreen.  We could use a frame parameter for systems where we can't
> get sizes / positions realiably but all this will likely get tedious.
> 

If you are looking for the size/position a window had before i was 
maximized/fullscreen, there is no such hint.  Hints reflect the current state 
only.  Hints in general are reliable, as they are well specified.

        Jan D.





reply via email to

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