Re: _NET_WM_ALLOWED_ACTIONS



On 11/21/06, Lubos Lunak <l lunak suse cz> wrote:
On Tuesday 21 November 2006 09:21, Oleg Sukhodolsky wrote:
> On 11/20/06, Lubos Lunak <l lunak suse cz> wrote:
> > On Monday 20 November 2006 15:01, Havoc Pennington wrote:
> > > Oleg Sukhodolsky wrote:
> > > > Hello,
> > > >
> > > > Is there any _standard_ way to disable the Minimize (or Maximize, or
> > > > Close, whatever) menuitem on the system menu (accessible via
> > > > Alt-Spacebar or Alt-RightClick under Metacity)?
> > > > I've read the _NET_WM_ALLOWED_ACTIONS spec, but it's not clear
> > > > whether this is client- or WM- managed hint...
> > >
> > > It is WM-managed; to disable things like that I think you have to use
> > > the old MWM hints.
> >
> >  Assuming the WM gives a damn about those. Hints are just that, hints and
...
> That's exactly true! However, I implement somewhat like a splash screen,
> and I don't wanna use the _NET_WM_WINDOW_TYPE_SPLASH window type as it
> makes the splash window being "always on top" under metacity. And I
> don't want the window to be "override redirect" as well.

 So, in other words, if I'm getting it right, you're saying that you want to
work around the window manager? Been there, done that, still suffering a lot
from it. And you even want a standard for that.

Not exactly.  I want to show window which is similar to window with
_NET_WM_WINDOW_TYPE_SPLASH window type (asit is treated by metacity)
but not "always on top".  And this window should behaves the same ways
under other WMs.

Also, (in different project) I want to have control (as much as it is
possible) over allowed actions, i.e. I want tobe able to inform WM
which actions should be allowed.

Thanks, Oleg.



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