I noticed that if I unmap a window, when I map it back, it's maximized
state along with the restore-to size and position are all lost (Ubuntu
10). Is there a way to get the normal size/pos so I can put it back
before mapping? Or do I have to track it myself through resize events
(if that's even pos
On Freitag, 14. August 2015 13:23:29 CEST, Cosmin Apreutesei wrote:
I noticed that if I unmap a window, when I map it back, it's maximized
state along with the restore-to size and position are all lost
Simple un/mapping a window should not loose its properties. Sure it's not
destroyed?
(Otherw
> You'd have to store the geometry before the window gets maximized
Actually, there is no event that would give me the normal rect
_before_ the window gets maximized. At the time PropertyNotify /
_NET_WM_STATE is sent, the normal geometry is already lost.
So it seems that I have to track geometry
On Freitag, 14. August 2015 18:00:52 CEST, Cosmin Apreutesei wrote:
Well, I'm using XWithdrawWindow() if it makes any difference, because
XUnmapWindow() doesn't properly hide minimized windows (it doesn't
send UnmapNotify).
Aha.
XWithdrawWindow() basically tells the windowmanager: "please for