Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!stan!ninja!toml From: toml@ninja.Solbourne.COM (Tom LaStrange) Newsgroups: comp.windows.x Subject: Re: _MOTIF_WM_HINTS question Message-ID: <1989Dec28.145642.10297@Solbourne.COM> Date: 28 Dec 89 14:56:42 GMT Sender: news@Solbourne.COM Organization: Solbourne Computer, Inc. Lines: 46 I got zero, nada, none, zip, no responses to this note that I posted last week, other than the one saying that they would forward it to some OSF mailing list. So I'll try again. Any OSF people out there listening? I have a couple of questions about the Motif _MOTIF_WM_HINTS property. 1. The definition of the property in the MWM programmers guide is different from the definition in MwmUtil.h. I assume the header file contains the proper definition: typedef struct { CARD32 flags; CARD32 functions; CARD32 decorations; INT32 inputMode; } PropMotifWmHints; Is my assumption correct? Are there any other differences between the documentation and the code that I should be aware of? I can't UTSL, all I have are binaries and header files. 2. I only see this property set on transient windows and it never seems to make any sense. Often times it appears that I am just getting uninitialized memory. I have never seen decorations or functions specified, yet the decorations that mwm places on transients is different than what is used on normal windows. Does mwm use this property to determine what decoration to place on windows or am I seeing a default transient decoration? 3. It might be nice if this property were placed on all windows that are created by the motif toolkit, not just windows that require different decorations. That way, a configurable window manager could provide mwm decoration on motif clients or Open Look decoration on Open Look clients. Current Open Look clients, at least those built with xview or OI, place an _OL_WIN_ATTR property on all reparentable windows. This property is similar to _MOTIF_WM_HINTS. Thanks, Tom LaStrange Solbourne Computer Inc. ARPA: toml@Solbourne.COM 1900 Pike Rd. UUCP: ...!{boulder,sun}!stan!toml Longmont, CO 80501