Re: Initial window placement
- From: Philipp Lohmann <Philipp Lohmann Sun COM>
- To: <wm-spec-list gnome org>
- Subject: Re: Initial window placement
- Date: Thu, 16 Aug 2001 13:21:58 GMT
Hi,
So how about something like this in a spec update:
_NET_WM_FRAME_GEOMETRY, x, y, width, height, CARDINAL[4]/32
If this property is set on a window the window manager SHOULD place the
frame at the indicated root window coordinates and size the frame to the
indicated size. The client window in this case will be shrunk to fit the
decoration. If the minwidth/height and/or maxwidth/height in the
WM_NORMAL_HINTS are specified and do not allow the frame geometry to be
met including decorations, then the frame geometry will be adjusted
according to the win_gravity field of WM_NORMAL_HINTS. The window manager
SHOULD update this property on the window if it was set at the time the
window was mapped first.
Regards, Philipp
>>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<
Am 13.08.01, 19:41:52, schrieb Philipp Lohmann <Philipp Lohmann sun com>
zum Thema Re: Initial window placement:
> > 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]