ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/x11image.c
(Generate patch)

Comparing ray/src/px/x11image.c (file contents):
Revision 1.18 by greg, Fri May 3 09:49:02 1991 UTC vs.
Revision 1.19 by greg, Fri May 3 09:54:31 1991 UTC

# Line 246 | Line 246 | init()                 /* get data and open window */
246          XSetFont(thedisplay, ourgc, fontid);
247          revgc = XCreateGC(thedisplay, wind, 0, 0);
248          XSetFunction(thedisplay, revgc, GXinvert);
249        XStoreName(thedisplay, wind, fname == NULL ? progname : fname);
249          XDefineCursor(thedisplay, wind, XCreateFontCursor(thedisplay,
250                          XC_diamond_cross));
251          if (geometry != NULL) {
# Line 281 | Line 280 | init()                 /* get data and open window */
280                          |ButtonMotionMask|StructureNotifyMask
281                          |KeyPressMask|ExposureMask);
282          XMapWindow(thedisplay, wind);
283 +                                /* store name last as ready signal */
284 +        XStoreName(thedisplay, wind, fname == NULL ? progname : fname);
285          return;
286   memerr:
287          quiterr("out of memory");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines