src/video/x11/SDL_x11events.c
branchSDL-1.3
changeset 1657 5b0805ceb50f
parent 1575 3ba88cb7eb1b
child 1658 e49147870aac
child 1783 c546353b1ad4
     1.1 --- a/src/video/x11/SDL_x11events.c	Thu Apr 27 09:09:48 2006 +0000
     1.2 +++ b/src/video/x11/SDL_x11events.c	Fri Apr 28 16:55:41 2006 +0000
     1.3 @@ -666,7 +666,7 @@
     1.4  			} else {
     1.5  				switch_time = now + 200;
     1.6  			}
     1.7 -		} else if ( now >= switch_time ) {
     1.8 +		} else if ( (int)(switch_time-now) <= 0 ) {
     1.9  			Uint32 go_fullscreen;
    1.10  
    1.11  			go_fullscreen = switch_waiting & SDL_FULLSCREEN;