home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11336 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  1.3 KB

  1. Path: sparky!uunet!olivea!decwrl!sgi!fido!owl.asd.sgi.com!walker
  2. From: walker@owl.asd.sgi.com (Christopher Walker)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: noborder GLX
  5. Message-ID: <nmv8aos@fido.asd.sgi.com>
  6. Date: 24 Jul 92 16:45:08 GMT
  7. References: <1031@alsys1.aecom.yu.edu>
  8. Sender: news@fido.asd.sgi.com (Usenet News Admin)
  9. Organization: Silicon Graphics, Inc.
  10. Lines: 26
  11.  
  12. In article <1031@alsys1.aecom.yu.edu>, reiner@medusa.bioc.aecom.yu.edu (Peter D. Reiner) writes:
  13. |> I would like my GLX program to commandeer the entire screen 'a la
  14. |> "flight"; I need the replacement for noborder().  Also, are there
  15. |> any public domain MOTIF dial widgets which api along the lines of
  16. |> 'scale' widgets?
  17. |> 
  18. |> -Peter Reiner
  19.  
  20. The easiest way is probably to just use a 4Dwm resource definition like: 
  21.  
  22. 4DWm*yourApp*clientDecoration: none
  23.  
  24. If you want to do it from your program you need to set the _MOTIF_WM_HINTS 
  25. property with code something like (see the OSF/Motif Programmer's Guide for
  26. more info):
  27.  
  28.     Atom mwmHintsAtom = XInternAtom(dpy, _XA_MWM_HINTS, False);                      PropMwmHints mwmHints;
  29.    
  30.     mwmHints.flags = MWM_HINTS_DECORATIONS;
  31.     mwmHints.decorations = 0;
  32.     XChangeProperty(dpy, win, mwmHintsAtom, mwmHintsAtom, 
  33.             32, PropModeReplace, (unsigned char*)&mwmHints, 
  34.             PROP_MWM_HINTS_ELEMENTS);
  35.  
  36. ---
  37. Chris Walker (walker@sgi.com)
  38.