src/video/x11/SDL_x11video.c
branchSDL-1.2
changeset 4218 50b4ab8f8271
parent 4210 8f501bbc3bf1
child 4253 b0c979816d67
--- a/src/video/x11/SDL_x11video.c	Mon Sep 21 09:38:10 2009 +0000
+++ b/src/video/x11/SDL_x11video.c	Mon Sep 21 09:47:53 2009 +0000
@@ -771,16 +771,11 @@
 
 	hints = XAllocSizeHints();
 	if ( hints ) {
-		if ( flags & SDL_RESIZABLE ) {
-			hints->min_width = 32;
-			hints->min_height = 32;
-			hints->max_height = 4096;
-			hints->max_width = 4096;
-		} else {
+		if (!(flags & SDL_RESIZABLE)) {
 			hints->min_width = hints->max_width = w;
 			hints->min_height = hints->max_height = h;
+			hints->flags = PMaxSize | PMinSize;
 		}
-		hints->flags = PMaxSize | PMinSize;
 		if ( flags & SDL_FULLSCREEN ) {
 			hints->x = 0;
 			hints->y = 0;