SDL2/cmake
Frank Praznik 423a82cd4b wayland: Enforce or override libdecor minimum window size
libdecor plugins can change the min/max window size values internally to enforce a minimum window size, and errors and crashes can result if the window size is below the internal limit.

On versions of libdecor >= 0.1.1, the minimum width and height can be queried and the minimum required window size will be enforced. The application requested window size is still respected, however, the actual window may be slightly larger than the drawable area to accommodate the required libdecor minimum size.

On version 0.1.0 of libdecor, which lacks the function to retrieve the minimum size, the internal limits are overridden before committing a frame, so that the internal limits always match the window size as a workaround, even if the window is technically smaller than the plugin would normally allow.
2023-01-18 10:28:01 -08:00
..
test cmake: fix sdl3.pc for Nintendo 3DS + add to test matrix 2023-01-15 17:46:36 +01:00
CheckCPUArchitecture.cmake cmake: test for lsx and lasx intrinsics for loongarch 2022-11-25 21:50:08 +01:00
cmake_uninstall.cmake.in cmake: declutter root + remove obsolete variables 2022-12-19 09:19:45 -08:00
GetGitRevisionDescription.cmake cmake: generate git hash using GetRevisionDescription CMake module 2023-01-08 18:20:56 +01:00
GetGitRevisionDescription.cmake.in cmake: generate git hash using GetRevisionDescription CMake module 2023-01-08 18:20:56 +01:00
macros.cmake cmake: avoid string(SUBSTRING) on short strings 2023-01-09 15:44:50 +01:00
sdl3.pc.in cmake: make sdl3.pc relocatable 2023-01-15 12:37:51 -08:00
SDL3Config.cmake.in cmake: haiku uses CXX code, so enable it in C-only project 2023-01-10 02:39:09 +01:00
sdlchecks.cmake wayland: Enforce or override libdecor minimum window size 2023-01-18 10:28:01 -08:00
sdlfind.cmake cmake: use FindALSA.cmake to find ALSA libraries 2022-12-12 01:37:01 +01:00
sdlplatform.cmake cmake: move platform detection to cmake/sdl/paltform.cmake for re-use by SDL2-compat 2022-11-29 21:10:56 +03:00