Boolean SendMousePosition(w, event) Widget w; XEvent* event;
Boolean SendMousePosition(Widget w, XEvent* event)
Boolean SendMousePosition(w, event)Widget w;XEvent* event;{    register TScreen *screen;    if (!IsXtermWidget(w))    	return False;    screen = &((XtermWidget)w)->screen;        if (screen->send_mouse_pos == 0) return False;    if (event->type != ButtonPress && event->type != ButtonRelease)	return False;#define KeyModifiers \    (event->xbutton.state & (ShiftMask | LockMask | ControlMask | Mod1Mask | \			     Mod2Mask | Mod3Mask | Mod4Mask | Mod5Mask ))#define ButtonModifiers \    (event->xbutton.state & (ShiftMask | LockMask | ControlMask | Mod1Mask | \			     Mod2Mask | Mod3Mask | Mod4Mask | Mod5Mask ))    switch (screen->send_mouse_pos) {      case 1: /* X10 compatibility sequences */	if (KeyModifiers == 0) {	    if (event->type == ButtonPress)		EditorButton((XButtonEvent *)event);	    return True;	}	return False;      case 2: /* DEC vt200 compatible */	if (KeyModifiers == 0 || KeyModifiers == ControlMask) {	    EditorButton((XButtonEvent *)event);	    return True;	}	return False;      case 3: /* DEC vt200 hilite tracking */	if (  event->type == ButtonPress &&	      KeyModifiers == 0 &&	      event->xbutton.button == Button1 ) {	    TrackDown((XButtonEvent *)event);	    return True;	}	if (KeyModifiers == 0 || KeyModifiers == ControlMask) {	    EditorButton((XButtonEvent *)event);	    return True;	}	/* fall through */      default:	return False;    }#undef KeyModifiers}