Sharon Clay (src++at++rose)
Fri, 5 Jan 1996 12:54:15 -0800
I assume that this is a Performer1.2 application.
In which case, the border of screen-size pfuGLX windows is removed with the
noXWindowDecoration() routine in /usr/src/Performer/src/lib/libpfutil/xwin.c:
static void
noXWindowDecoration(Display *dsp, Window w)
{
MWMHints hints;
/* get special atom for 4DWM motif window manager */
if (!mwm_hints_atom)
mwm_hints_atom = XInternAtom(dsp, "_MOTIF_WM_HINTS", FALSE);
getMWMHints(dsp, w, &hints);
hints.decorations = 0x0;
hints.flags |= MWM_HINTS_DECORATIONS;
XChangeProperty(dsp, w, mwm_hints_atom, mwm_hints_atom, 32,
PropModeReplace, (unsigned char *)&hints, 4);
}
FYI, in Performer 2.0 you can request directly request windows with no borders.
src.
--
-----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com (415) 933 - 1002 FAX: (415) 965 - 2658 MS 8U-590
-----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:14 PDT