if (gwin->have_focus() && gwin->get_mode() == Game_window::normal)
if (gwin->have_focus())
static void Handle_events	(	unsigned char *stop	)	{	/*	 *	Main event loop.	 */	while (!*stop)		{		Delay();		// Wait a fraction of a second.#ifdef MOUSE		mouse->hide();		// Turn off mouse.#endif		SDL_Event event;		while (!*stop && SDL_PollEvent(&event))			Handle_event(event);					// Get current time.		unsigned long ticks = SDL_GetTicks();					// Animate unless modal or dormant.		if (gwin->have_focus() && gwin->get_mode() == 							Game_window::normal)			gwin->get_tqueue()->activate(ticks);#ifdef MOUSE		mouse->show();		// Re-display mouse.#endif		gwin->show();		// Blit to screen if necessary.		}	}