home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11339 < prev    next >
Encoding:
Text File  |  1992-07-24  |  1.0 KB  |  31 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!sgi!fido!zola!jellotrees!joel
  3. From: joel@jellotrees.esd.sgi.com (Joel Tesler)
  4. Subject: Re: noborder GLX
  5. Message-ID: <nn0mgkg@zola.esd.sgi.com>
  6. Sender: news@zola.esd.sgi.com (Net News)
  7. Organization: Silicon Graphics, Inc.  Mountain View, CA
  8. References: <1031@alsys1.aecom.yu.edu> <nmv8aos@fido.asd.sgi.com>
  9. Date: Fri, 24 Jul 92 17:34:24 GMT
  10. Lines: 19
  11.  
  12.  
  13. > If you want to do it from your program you need to set the _MOTIF_WM_HINTS 
  14. > property with code something like (see the OSF/Motif Programmer's Guide for
  15. > more info):
  16. >     Atom mwmHintsAtom = XInternAtom(dpy, _XA_MWM_HINTS, False);                      PropMwmHints mwmHints;
  17. >    
  18. >     mwmHints.flags = MWM_HINTS_DECORATIONS;
  19. >     mwmHints.decorations = 0;
  20. >     XChangeProperty(dpy, win, mwmHintsAtom, mwmHintsAtom, 
  21. >             32, PropModeReplace, (unsigned char*)&mwmHints, 
  22. >             PROP_MWM_HINTS_ELEMENTS);
  23. And if your program is Motif based, you can simply use the
  24. XmNmwmDecorations resource in VendorShell
  25.  
  26. Joel Tesler
  27. joel@sgi.com
  28. 415-390-3048
  29.