rob@knopfler.leis.bellcore.com (Rob Herrera) (09/29/90)
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. I know there's something called WM_HINTS that has something to do with this. However, the documentation I've got on that stuff is REALLY lame (surprise???). Any responses, either directly or to the newsgroup, will be much appreciated. Thanks Roberto Herrera rob@ctt.ctt.bellcore.com
dbrooks@osf.org (David Brooks) (10/05/90)
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.