Re: WM_TRANSIENT for required for group modal?
- From: Bradley T Hughes <bhughes trolltech com>
- To: wm-spec-list gnome org
- Subject: Re: WM_TRANSIENT for required for group modal?
- Date: Tue, 21 Mar 2006 10:35:27 +0100
On Tuesday 21 March 2006 09:42, Pierre Ossman wrote:
> I just wanted to check if the behaviour I'm seeing is a bug in metacity
> or me misinterpreting the spec.
> What I'm trying to do is create an application modal window (i.e. modal
> for all windows in a group). The spec says:
> "_NET_WM_STATE_MODAL indicates that this is a modal dialog box. If the
> WM_TRANSIENT_FOR hint is set to another toplevel window, the dialog is
> modal for that window; if WM_TRANSIENT_FOR is not set or set to the root
> window the dialog is modal for its window group."
> However, metacity only behaves correctly when WM_TRANSIENT_FOR is set to
> the root window, which (judging from the archives) is the old way of
> doing things. Since this is a new implementation I'd prefer to do it the
> "new" way (i.e. don't set WM_TRANSIENT_FOR at all).
> I found some modality bugs in GNOME's bugzilla, but nothing that seemed
> to cover this problem.
I've noticed the same thing. See
http://bugzilla.gnome.org/show_bug.cgi?id=126489 for detailed information.
Basically, metacity doesn't support group transients at all it seems.
> wm-spec-list mailing list
> wm-spec-list gnome org
Bradley T. Hughes - bhughes at trolltech.com
Trolltech AS - Sandakervn. 116, P.O. Box 4332 Nydalen, 0402 Oslo, Norway
] [Thread Prev