Re: Initial window placement



Philipp Lohmann <Philipp Lohmann Sun COM> writes:
> If Northwest gravity places the top left of the frame at the reference 
> point and you agree that when mapping the window initially the size of 
> the window should be taken as if it was the frame, then the decoration 
> should be as large as the window originally requested and the client 
> window should be shrinked to fit into the decoration.
>

That's not how it works. The size in the configure request is the size
of the client window, not the size of the frame around the client
window. There is no way for clients to request a specific size for the
frame. (Which is makes Java/AWT window size functions impossible to
implement correctly in X - a screwup in the AWT design.)

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]