TekEnqMouse(c) int c;
TekEnqMouse(int c)
TekEnqMouse(c)    int c;			/* character pressed */{	register TScreen *screen = &term->screen;	int mousex, mousey, rootx, rooty;	unsigned int mask; /* XQueryPointer */	Window root, subw;	XQueryPointer(	    screen->display, TWindow(screen), 	    &root, &subw,	    &rootx, &rooty,	    &mousex, &mousey,	    &mask);	if((mousex = (mousex - screen->border) / TekScale(screen)) < 0)		mousex = 0;	else if(mousex >= TEKWIDTH)		mousex = TEKWIDTH - 1;	if((mousey = TEKHEIGHT + TEKTOPPAD - (mousey - screen->border) /	     TekScale(screen)) < 0)		mousey = 0;	else if(mousey >= TEKHEIGHT)		mousey = TEKHEIGHT - 1;	TekEnq(c, mousex, mousey);}