#ifndef	lint
#ifdef sccs
static	char sccsid[] = "@(#)ndet_no_dis.c 1.1 94/10/31 Copyr 1985 Sun Micro";
#endif
#endif

/*
 * Copyright (c) 1985 by Sun Microsystems, Inc.
 */

/*
 * Ndet_no_dis.c - To turn off "background" dispatching,
 *		   notify_no_dispatch must be called.  Background dispatching
 *		   is that dispatching which is done when a read or select is
 *		   called before calling notify_start.
 */

#include <sunwindow/ntfy.h>
#include <sunwindow/ndet.h>

extern Notify_error
notify_no_dispatch()
{
	ndet_flags &= ~NDET_DISPATCH;
	return (NOTIFY_OK);
}

