src/video/x11/SDL_x11events.c
changeset 1740 db7e15a99cb3
parent 1575 3ba88cb7eb1b
child 1658 e49147870aac
child 1783 c546353b1ad4
--- a/src/video/x11/SDL_x11events.c	Thu Apr 27 10:21:54 2006 +0000
+++ b/src/video/x11/SDL_x11events.c	Thu Apr 27 10:44:43 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;