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