[comp.windows.x.motif] Motif and client borders

osvaldo@sos.com (Osvaldo Gold) (05/31/91)

Thanks to everyone that responded to my question about messing with the
decorations that the Motif wm puts in my application.  (Hi Jabir, my 
mail to you bounced.  Send me another note)

I gather that the easiest way to do it is through the XmNmwmDecorations
resource of the top level shell.  However I can get it to set no decorations
at all, or all of the decorations.  None of the flags that I find in
Xm/mwm.h or Xm/mwmUtil.h do anything for me.  I need functionality similar
to putting in the .Xdefaults file lines like:

Mwm*clientDecorations: border
Mwm*transientDecorations: border

This is what I'm doing:

   toplevel = XtInitialize(argv[0],"SomeClass",NULL,ZERO,&argc,argv);

   ac = 0;
   XtSetArg (al[ac], XmNmwmDecorations, MWM_DECOR_BORDER); ac++;
   XtSetValues (toplevel, al, ac);

What am I missing?

-- 
-----------------------------------------------------------------
Osvaldo Gold                       osvaldo@sos.com
                         ...[uunet]!uupsi!sos.com!osvaldo
These opinions are only my own.  SOS has nothing to do with them.