[comp.windows.x.motif] How do I get Mwm trimmings for secondary windows?

dbeck@flopn2.csc.ti.com (Dave Beck) (01/26/91)

How do I do Motif Window Manager client decorations for secondary windows?

	Working with X11R4 and Motif 1.0.3 (we will upgrade shortly), I
have been trying to put Mwm trimmings on 'secondary' windows; ie there is
an application shell (a 'primary' window) between them and the root.  I
want Mwm trimmings on the shell (which happens automatically) and also
on some specific sub-windows.  From the documentation it sounds like
setting the Mwm*client*transientDecoration and Mwm*client*transientFunctions
resources to 'all' for each of these clients should work, but it doesn't.
Isn't the TRANSIENT_FOR property of a window set for the windows of the
client widgets from the parent information supplied when creating the
widgets?  Do I need to set this property myself?  Do I have to do something
with WM_HINTS?  What am I missing?
	Thanks in advance, and please e-mail directly. My request to be added
to this mailing list apparently hasn't happened yet.

Dave Beck
Texas Instruments Software Systems and Applications Lab
Dallas, Texas
Email: dbeck@flopn2.ti.com
Phone: (214)575-6453

klee@wsl.dec.com (Ken Lee) (01/26/91)

In article <9101252025.AA27836@tilde>, dbeck@flopn2.csc.ti.com (Dave Beck) writes:
|> How do I do Motif Window Manager client decorations for secondary windows?

The window manager should be able to manage any window that is a child
of the root window (and is not override redirect).  The ICCCM prohibits
the window manager from intefering with windows that are not children
of the root window.

-- 
Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee