--- ray/src/util/xglaresrc.c 1991/03/19 14:12:11 1.1 +++ ray/src/util/xglaresrc.c 1991/04/17 12:14:52 1.4 @@ -79,13 +79,13 @@ char *name; progname); exit(1); } - pickcursor = XCreateFontCursor(theDisplay, XC_target); + pickcursor = XCreateFontCursor(theDisplay, XC_hand2); /* find our window */ while (XGrabPointer(theDisplay, rwind, True, ButtonPressMask, GrabModeAsync, GrabModeAsync, None, pickcursor, CurrentTime) != GrabSuccess) sleep(2); - printf("%s: pick point in \"%s\" display window\n", progname, name); + printf("%s: click mouse in \"%s\" display window\n", progname, name); XNextEvent(theDisplay, &xev); XUngrabPointer(theDisplay, CurrentTime); if (((XButtonEvent *)&xev)->subwindow == None) { @@ -165,7 +165,7 @@ double dom; if (pz <= 0.0) goto fail; pt[i].x = px*xres; - pt[i].y = py*yres; + pt[i].y = yres-1 - (int)(py*yres); } XDrawLines(theDisplay, gwind, vecGC, pt, NSEG+1, CoordModeOrigin); return;