> I still also have smpausewindow missing though. Attached below, sorry. I've built a new kit, but I haven't tried building myself yet. The file is RIPPER::XTS031-2.ZIP which is 574 blocks. Please delete it when you are finished with it. > Will you be getting to the states anytime soon (e.g., to a DECUS mtg?) Not likely... I don't want to either. My opinion of the USA is based on what I see in movies and television, so you can guess I wouldn't want to risk going there. ;-) > emosaic complains that a bunch of the GIFs in your page are unreadable. The machine with the images is temporarily unavailable due to a site move. -- James Cameron (cameron@stl.dec.com) Digital Equipment Corporation (Australia) Pty. Limited A.C.N. 000 446 800 /* <<< SPEZKO::NOTESPUBLIC:[NOTES$LIBRARY]DW_EXAMPLES.NOTE;3 >>> -< DECwindows examples >- ================================================================================ Note 736.3 SmPauseWindow() - routine to find session manager pause wind 3 of 3 PSW::WINALSKI "Careful with that VAX, Eugene" 49 lines 19-OCT-1991 11:47 -< revised SMPAUSEWINDOW.C >- -------------------------------------------------------------------------------- */ /* SMPAUSEWINDOW.C - Routine to find the Session Manager pause window for */ /* SSB DECwindows MOTIF on VMS. */ #include #include static int SmPauseHandler(dpy, e) Display *dpy; XErrorEvent *e; { /* ignore errors from GetWindowProperty */ return 0; } Window SmPauseWindow(dpy, root) Display *dpy; Window root; { char *pause_window = "_DEC_SM_PAUSE_WINDOW"; Atom pause_window_atom; Window *wid; Window retval; Atom type_returned; int format_returned, status; unsigned long num_items_returned, bytes_remaining; /* enable handler to trap errors (especially BadAtom) */ XSetErrorHandler(&SmPauseHandler); pause_window_atom = XInternAtom (dpy, pause_window, True); status = XGetWindowProperty (dpy, root, pause_window_atom, 0, 1, False, XA_WINDOW, &type_returned, &format_returned, &num_items_returned, &bytes_remaining, &wid); /* disable the handler */ XSetErrorHandler(0); if ((status != 0) || (type_returned == None)) return 0; /* XGetWindowProperty failed */ retval = *wid; XFree(wid); return retval; /* Success */ }