SDL2/cmake
Frank Praznik ea179abdb7 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.

(cherry picked from commit 423a82cd4b)
2023-01-22 08:20:34 -08:00
..
test ci: don't require EXTRA_ prefix on input environment variables 2023-01-15 17:29:37 +01:00
CheckCPUArchitecture.cmake cmake: test for lsx and lasx intrinsics for loongarch 2022-11-25 21:50:43 +01:00
macros.cmake cmake: use FindALSA.cmake to find ALSA library 2022-12-11 23:23:45 +01:00
sdlchecks.cmake wayland: Enforce or override libdecor minimum window size 2023-01-22 08:20:34 -08:00
sdlfind.cmake cmake: use FindALSA.cmake to find ALSA library 2022-12-11 23:23:45 +01:00
sdlplatform.cmake cmake: move platform detection to cmake/sdl/paltform.cmake for re-use by SDL2-compat 2022-11-29 20:20:33 +01:00