# HG changeset patch # User Sam Lantinga # Date 1253526473 0 # Node ID 50b4ab8f8271d39995cc5975d934510a55f0366d # Parent 4c4113c2162c06a50ae2bf2d4d3c1c6e261eff78 Fixed bug #778 Derek Weitzel 2009-08-11 12:17:09 PDT Window Manager: xorg-x11-twm-1.0.1-3.1 Running through Xdmx. The same application could expand to the full screen using GLUT (freeglut). Overview: While running on a very high resolution display, discovered the maximium width of the window is 4096. diff -r 4c4113c2162c -r 50b4ab8f8271 src/video/x11/SDL_x11video.c --- 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;