Path: utzoo!attcan!uunet!snorkelwacker!paperboy!osf.org!dbrooks From: dbrooks@osf.org (David Brooks) Newsgroups: comp.windows.x.motif Subject: Re: Decoration control from within application Keywords: Life is hell... Message-ID: <1990Oct4.131425@osf.org> Date: 4 Oct 90 17:14:25 GMT References: <27347@bellcore.bellcore.com> Sender: news@OSF.ORG Reply-To: dbrooks@osf.org (David Brooks) Organization: Open Software Foundation Lines: 21 In article <27347@bellcore.bellcore.com>, rob@knopfler.leis.bellcore.com (Rob Herrera) writes: |> I've been fiddling with MWM resources, and I've been |> trying to change the decorations for a particular application, |> either from within the application or from its resource |> file. |> |> I changed the clientDecoration and clientFunctions resources in my |> .Xdefaults, and produced the desired effect in ALL my windows. |> However, I've had no success on doing it for particular applications |> WITHOUT using the .Xdefaults. This was still broken in 1.0.3, but it's fixed in 1.1. Quite simply, trying to set the decorations or functions from the application doesn't work. The source fix is trivial. You're supposed to be able to set the resources mwmDecorations and mwmFunctions using or'ed together values found in Xm/MwmUtil.h -- David Brooks dbrooks@osf.org Systems Engineering, OSF uunet!osf.org!dbrooks "A Loaf of Bread, a Jug of Wine, and Six Spades Redoubled" -- Omar somebody.