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