selectwindow(screen, flag) register TScreen *screen; register int flag;
selectwindow(register TScreen *screen, register int flag)
selectwindow(screen, flag)register TScreen *screen;register int flag;{#if OPT_TEK4014	if(screen->TekEmu) {		if(!Ttoggled)			TCursorToggle(TOGGLE);		screen->select |= flag;		if(!Ttoggled)			TCursorToggle(TOGGLE);		return;	} else#endif	{		if (screen->xic)		    XSetICFocus(screen->xic);		if(screen->cursor_state &&		   (screen->cursor_col != screen->cur_col ||		    screen->cursor_row != screen->cur_row))		    HideCursor();		screen->select |= flag;		if(screen->cursor_state)			ShowCursor();		return;	}}