[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.
- Re: How to restore the layout?, (continued)
- Re: How to restore the layout?, Stephen Leake, 2013/06/29
- Re: How to restore the layout?, chad, 2013/06/29
- Re: How to restore the layout?, Eli Zaretskii, 2013/06/29
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/29
- Re: How to restore the layout?, Stephen Leake, 2013/06/30
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/30
- Re: How to restore the layout?,
Jan Djärv <=
- Re: How to restore the layout?, martin rudalics, 2013/06/28
- Re: How to restore the layout?, Jan Djärv, 2013/06/28
- Re: How to restore the layout?, martin rudalics, 2013/06/28
- Re: How to restore the layout?, Jan Djärv, 2013/06/28
- Re: How to restore the layout?, martin rudalics, 2013/06/28
- Re: How to restore the layout?, Jan Djärv, 2013/06/28
- Re: How to restore the layout?, martin rudalics, 2013/06/28
- Re: How to restore the layout?, Stephen Leake, 2013/06/29
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/29
- Re: How to restore the layout?, Stephen Leake, 2013/06/30