diff src/video/x11/SDL_x11events.c @ 1657:5b0805ceb50f SDL-1.3

Merge trunk-1.3-2
author Sam Lantinga <slouken@libsdl.org>
date Fri, 28 Apr 2006 16:55:41 +0000
parents 3ba88cb7eb1b
children e49147870aac c546353b1ad4
line wrap: on
line diff
--- a/src/video/x11/SDL_x11events.c	Thu Apr 27 09:09:48 2006 +0000
+++ b/src/video/x11/SDL_x11events.c	Fri Apr 28 16:55:41 2006 +0000
@@ -666,7 +666,7 @@
 			} else {
 				switch_time = now + 200;
 			}
-		} else if ( now >= switch_time ) {
+		} else if ( (int)(switch_time-now) <= 0 ) {
 			Uint32 go_fullscreen;
 
 			go_fullscreen = switch_waiting & SDL_FULLSCREEN;