SDL/src
Sam Lantinga f1b603ac6a Fixed bug 5323 - SDL_SetWindowMaximumSize fails if Width or Height is equal to minimum Height or Width
batyastudios

Basicly there is problem and somewhat a solution: https://discourse.libsdl.org/t/setwindowmaximumsize-bug/28267

If you SDL_SetWindowMaximumSize() after SDL_SetWindowMinimumSize() with one of axes have the same value, function will have no effect.

This: (line 2144@SDL_video.c)
if (max_w <= window->min_w || max_h <= window->min_h) {
    SDL_SetError("SDL_SetWindowMaximumSize(): Tried to set maximum size smaller than minimum size");
    return;
}

May be changed to this:
if (max_w < window->min_w || max_h < window->min_h) {
    SDL_SetError("SDL_SetWindowMaximumSize(): Tried to set maximum size smaller than minimum size");
    return;
}
2020-10-20 11:51:23 -07:00
..
atomic Add basic support for compiling on RISC OS 2020-02-13 20:50:47 +00:00
audio os2: a _lot_ of coding style cleanup, sot that they match the SDL style. 2020-10-15 21:37:30 +03:00
core geniconv/os2iconv.c: make it build correctly against os2tk headers. 2020-10-20 20:32:20 +03:00
cpuinfo SDL_cpuinfo.c (OS2): undefine HAVE_SYSCTLBYNAME 2020-10-10 20:50:02 +03:00
dynapi Fixed bug 5304 - add SDL_HasSurfaceRLE() (Thanks Rene Dudfield and Dan Lawrence) 2020-10-18 09:52:56 +02:00
events os2: integrate the port into main tree. 2020-10-14 23:01:06 +03:00
file
filesystem os2: a _lot_ of coding style cleanup, sot that they match the SDL style. 2020-10-15 21:37:30 +03:00
haptic cmake: Fix building with -DSDL_HAPTIC=Off 2020-07-08 17:28:34 +02:00
hidapi hid: Add Microsoft Precision Mouse to the joystick blacklist. 2020-05-06 03:18:25 -04:00
joystick Map the guide button by default on Android 11 2020-10-16 12:40:12 -07:00
libm k_rem_pio2.c: fix typo in second memset(): iq, not q. fixes bug #5309. 2020-10-08 11:51:02 +03:00
loadso os2: a _lot_ of coding style cleanup, sot that they match the SDL style. 2020-10-15 21:37:30 +03:00
locale windows/SDL_syslocale.c: make it build against older SDKs. 2020-10-06 00:20:20 +03:00
main locale: Implemented SDL_GetPreferredLocales(). 2020-05-04 02:27:29 -04:00
misc riscos: Implement SDL_OpenURL() 2020-10-11 17:32:32 +01:00
power
render metal: Clear the framebuffer if presenting without any other operations. 2020-10-07 14:45:24 -04:00
sensor Fixed bug 5126 - MinGW compile error SDL_windowssensor.c 2020-06-17 10:09:07 -07:00
stdlib stdlib: Corrected implementation of SDL_wcsncmp. 2020-07-24 22:24:03 -04:00
test fix watcom build of SDL_test_common.c 2020-06-14 12:05:56 +03:00
thread os2: a _lot_ of coding style cleanup, sot that they match the SDL style. 2020-10-15 21:37:30 +03:00
timer os2: a _lot_ of coding style cleanup, sot that they match the SDL style. 2020-10-15 21:37:30 +03:00
video Fixed bug 5323 - SDL_SetWindowMaximumSize fails if Width or Height is equal to minimum Height or Width 2020-10-20 11:51:23 -07:00
SDL.c os2: integrate the port into main tree. 2020-10-14 23:01:06 +03:00
SDL_assert.c
SDL_assert_c.h
SDL_dataqueue.c
SDL_dataqueue.h
SDL_error.c SDL_error: simplified error string management. 2020-04-21 01:30:36 -04:00
SDL_error_c.h SDL_error: simplified error string management. 2020-04-21 01:30:36 -04:00
SDL_hints.c
SDL_hints_c.h
SDL_internal.h Added SDL_log.h to SDL_internal.h so logging is available everywhere 2020-04-07 09:38:57 -07:00
SDL_log.c