spawn_window.c
static bool doWeAcceptAtom(Atom a)
{
	for (int i = 0; i < sizeof(typesWeAccept) / sizeof(Atom); ++i) {
		if (a == typesWeAccept[i]) {
			return true;
		}
	}

	return false;
}
// Test whether the supplied atom is in our types list
Test whether the supplied atom is in our types list
Test whether the supplied atom is in our types list
static bool doWeAcceptAtom(Atom a)
{
	for (int i = 0; i < sizeof(typesWeAccept) / sizeof(Atom); ++i) {
		if (a == typesWeAccept[i]) {
			return true;
		}
	}
	return false;
}
static bool doWeAcceptAtom ( Atom a ) { for ( int i = 0 ; i < sizeof ( typesWeAccept ) / sizeof ( Atom ) ; ++ i ) { if ( a == typesWeAccept [ i ] ) { return true ; } } return false ; }
Test whether the supplied atom is in our types list
Test whether the supplied atom is in our types list