Re: proposed addition to EWMH: _NET_WM_NORMAL_GEOMETRY

Carsten Haitzler (The Rasterman) <[email protected]>
Newsgroups gmane.comp.gnome.wm-spec
Organization You expect me to be organized?
Message-ID <[email protected]>
On Fri, 27 Jul 2007 19:42:25 -0700 "Mark Tiefenbruck" <[email protected]>
babbled:

> This goes in the list of Application Window Properties. The idea is
> that this holds the previous state of a window that has been
> temporarily changed by the window manager, e.g. while maximized or
> fullscreen. If the user switches or restarts his window manager, this
> information is currently lost, giving unexpected results when trying
> to restore the state. This property gives the new window manager the
> information it needs to restore the window properly.
> 
> One issue is that of ordering width and height vs. x and y. The
> --geometry argument typically uses width, height, x, y, whereas
> _NET_WORKAREA uses x, y, width, height. I've chosen width, height, x,
> y for now. Another question is whether or not the client should be
> allowed to change these values. I've decided for now that it may alter
> them only from withdrawn state.

i disagree with the ordering - -geometry is the way it is because of parsing
ans spacing - this is a command-lin e argument. different from PROPERITES. all
other netwm PROPERTIES are X,Y,WIDTH,HEIGHT - which is actually the most common
order you see such geometry in API calls for creating and moving/resizing
windows, drawing boxes etc. etc. i see no good reason to re-order the arguments
in a property based on the ordering in just 1 command-line argument.

> _NET_WM_NORMAL_GEOMETRY width, height, x, y, CARDINAL[4]/32
> 
> Array of four cardinals that defines the size and position to which
> the window should be restored when changing window state. The values
> should be set according to the same rules as WM_NORMAL_HINTS given in
> ICCCM Section 4.1.2.3. This property SHOULD be updated by the window
> manager whenever a change in _NET_WM_STATE corresponds to a change in
> window geometry. A client MAY change this property from the Withdrawn
> state but MUST NOT change it while the window is being managed.
> 
>   Mark
> _______________________________________________
> wm-spec-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/wm-spec-list
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]
裸好多
Tokyo, Japan (東京 日本)
_______________________________________________
wm-spec-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/wm-spec-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.