Re: questions/suggestions about changes in 1.0pre2



On Fri, 22 Sep 2000 Sasha_Vasko osca state mo us wrote:

> > _NET_DESKTOP_GEOMERTY:  <pedantic> The type should probably be
> > CARDINAL[][2]/32 (same as _NET_DESKTOP_VIEWPORT) instead of just saying
> > CARDINAL[2]/32... extra clarity</pedantic>
> 
> No that is incorrect. Every desktop is assumed to have the same size.
> _NET_DESKTOP_VIEWPORT is not the size of viewport, but POSITION of the
> viewport on any particular desk. This position can be changed all the time
> and it can be different on each desk. Althou I personally think that only 
> viewport of the current desk matters. 

Ahh... ok I was confused by the description:

"Array of two cardinals that defines the width and height of each desktop
							     ^^^^
in pixels. This property SHOULD be set by the Window Manager."

Perhaps we should drop "each".  But then again, why do we need this
property at all when we have HeightOfScreen/WidthOfScreen defined in Xlib?

> > _NET_WM_WINDOW_TYPE:  I think the _NET_WM_WINDOW_TYPE_TOOLBAR type 
> should
> > be simply _NET_WM_WINDOW_TYPE_TOOL.  Floating toolbars should still use
> > this type, but it causes less confusion for windows that aren't 
> toolbars,
> > but which should be drawn with less decorations (a small color grid for 
> a
> > painting program probably shouldn't have full decorations/menus
> > etc... just a small titlebar and a close button probably)
> 
> does not really matter as I see it - any way is fine with me

My rationale is simply for less confusion, so that people that have
something that really isn't a toolbar (as most toolkits provide a toolbar
widget), but definately not a menu/dialog/normal window... it makes no
difference to me either, but for people that intend to implement the spec
(whom aren't subscribed to this list) might be a bit confused.

[snip]

I give up on the _NET_WM_STATE crap.  I'm going to change my code so that
it follows the spec.  I still think the state mechanism could be much
simpler, and much more straight forward.  But since noone else seems to
agree...

Also, on a side note, is gnome using the new spec yet?  kde has been for a
few months now.

> > 
> >  --
> > Bradley T. Hughes <bhughes trolltech com>
> 
> Cheers
> Sasha Vasko
> 
> 

--
Bradley T. Hughes <bhughes trolltech com>
Waldemar Thranes gt. 98B N-0175 Oslo, Norway
Office: +47 21 60 48 92
Mobile: +47 92 01 97 81





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