On Tue, 21 Nov 2006 22:03:01 +0300 "Oleg Sukhodolsky" <[EMAIL PROTECTED]> babbled:
> On 11/21/06, Lubos Lunak <[EMAIL PROTECTED]> wrote: > > On Tuesday 21 November 2006 09:21, Oleg Sukhodolsky wrote: > > > On 11/20/06, Lubos Lunak <[EMAIL PROTECTED]> 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. and a lot of wm's will just ignore you. a lot of wm's like to think the user is king and should decide what to do and not to do. min/max size hints make sense as the app cannot sensibly draw its contents at sizes outside that range, for example, but things like "don't minimize" are simply stupid hints and any wm that thinks what a user wants matters most, will just ignore it. let the wm decide. believe it or not some wm's have configuration and features where a USER might be able to decide what they prefer as their policy for "splash windows". the point of the generic window types is to let the user decide what they want these windows to do/be able to do. > Thanks, Oleg. > _______________________________________________ > wm-spec-list mailing list > wm-spec-list@gnome.org > 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 wm-spec-list@gnome.org http://mail.gnome.org/mailman/listinfo/wm-spec-list