Re: Responsability of setting the 'sticky' attribute for a window



On Sun, Sep 01, 2002 at 11:55:26AM +0200, Patrick Aussems wrote:
> I just wanted to ask who's responsability it is to set the sticky
> attibute for an application, because from what I've seen the
> freedesktop.org specs are unclear about this. Is it the application or
> the WM?

Some will say it's the app's job to do it.
Some will say it's the  WM's job to do it.

  Some apps, by nature, tend to wish to be sticky or generate that wish
(the gnome panel and xmms come to mind, for instance). Some don't
give you an option (the gnome-panel) but are, and some give you that
option (xmms). It's great that xmms implements that option, so you can
have xmms sticky regardless of the window manager being able or not to
set it.

  However, an user may want to make some windows sticky for some reason
not previously thought off by the designers/maintainers of the software
but one of his own.

So, should  all apps implement an option to be sticky or not, or should
the window manager be able to empower you with that option for any window?

I don't think all apps should implement it just in case a user wants
that.
I think that if an app wishes to implement that option, because it is in
its nature to be sticky or not, than probably it should implement it.
I think that a WM that can set a window as sticky is beneficial since
that means less repeated and more generic code for any window, etc...

If you want a window manager, that doesn't do it, to do it, you'll have to:
 * convince the maintainers to do it
 * show some code that will make it do it in a proper way (so that you may
   convince the maintainers to include it)
 * or use another window manager

Good luck



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