if (dpy || impervious) {}
int XTRAP_GrabControl_wr(Display *dpy, Bool impervious) {	if (! xtrap_present) {		return 0;	}#if LIBVNCSERVER_HAVE_LIBXTRAP	  else {		ReqFlags requests;		if (! impervious) {			if (trap_ctx) {				XEFreeTC(trap_ctx);			}			trap_ctx = NULL;			return 1;		}		if (! trap_ctx) {			trap_ctx = XECreateTC(dpy, 0, NULL);			if (! trap_ctx) {				rfbLog("DEC-XTRAP XECreateTC failed.  Watch "				    "out for XGrabServer from wm's\n");				return 0;			}			XEStartTrapRequest(trap_ctx);			memset(requests, 0, sizeof(requests));			BitTrue(requests, X_GrabServer);			BitTrue(requests, X_UngrabServer);			XETrapSetRequests(trap_ctx, True, requests);			XETrapSetGrabServer(trap_ctx, True);		}		return 1;	}#endif	return 0;}