void HandleFocusChange(w, eventdata, ev, cont) Widget w GCC_UNUSED; XEvent *ev; XtPointer eventdata GCC_UNUSED; Boolean *cont GCC_UNUSED;
void HandleFocusChange( Widget w GCC_UNUSED, XtPointer eventdata GCC_UNUSED, XEvent *ev, Boolean *cont GCC_UNUSED)
void HandleFocusChange(w, eventdata, ev, cont)Widget w GCC_UNUSED;XEvent *ev;XtPointer eventdata GCC_UNUSED;Boolean *cont GCC_UNUSED;{	register XFocusChangeEvent *event = (XFocusChangeEvent  *)ev;        register TScreen *screen = &term->screen;        if(event->type == FocusIn)                selectwindow(screen,			     (event->detail == NotifyPointer) ? INWINDOW :								FOCUS);        else {                unselectwindow(screen,			       (event->detail == NotifyPointer) ? INWINDOW :								  FOCUS);		if (screen->grabbedKbd && (event->mode == NotifyUngrab)) {		    Bell(XkbBI_Info, 100);		    ReverseVideo(term);		    screen->grabbedKbd = FALSE;		    update_securekbd();		}	}}