Re: Decorations (again)



On Mon, 8 Nov 1999, Paul Warren wrote:
> On Sat, 6 Nov 1999, Matthias Ettrich wrote:

> > Not very logical, I admit, but practical. Will cover a lot of cases, but
> > there's more to it:
> > 
> > What about the additional groups:
> > 
> >       - message box
> >       - critical message box
> >       - error message box 
> >         ( these hints may also influence the WMs activation behaviour)
> 
> Now I like this idea, but we're beginning to infringe on the layer hint
> ie. the type of a message box could well be used to determine the layer of
> such a window eg. critical message boxes get stacked on top of all
> windows etc.
> 
> I think that this is a good thing.  Merging the decoration hint and the
> layer hint into a single hint describing the *function* of a window,
> rather than its appearance is IMHO a good idea.

OK, so how about we add these to the list:

Dock - indicates a panel window (as per the layer hint)
Desktop - indicates a desktop window (as per the layer hint)

Raster has already suggested menu.  

With that lot, we can then reduce the layer hint to just have:

_NET_WIN_LAYER_NORMAL
_NET_WIN_LAYER_BELOW
_NET_WIN_LAYER_ONTOP

To allow applications to hint that they like to be kept on top (presumably
at the users' request), or below other windows.

I don't see how the ontop/below hint can be easily incorporated into a
"window function" hint.

Any comments?

Paul




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