src/video/windx5/SDL_dx5events.c
changeset 325 1b5457c0a8ad
parent 297 f6ffac90895c
child 327 13fc64213765
--- a/src/video/windx5/SDL_dx5events.c	Sat Mar 30 21:41:01 2002 +0000
+++ b/src/video/windx5/SDL_dx5events.c	Sun Mar 31 02:42:43 2002 +0000
@@ -298,7 +298,8 @@
 	Uint8 button;
 
 	/* If we are in windowed mode, Windows is taking care of the mouse */
-	if ( ! (SDL_PublicSurface->flags & SDL_FULLSCREEN) ) {
+	if (  (SDL_PublicSurface->flags & SDL_OPENGL) ||
+	     !(SDL_PublicSurface->flags & SDL_FULLSCREEN) ) {
 		return;
 	}