raylib/src/platforms
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christian Haas 3d9aafed3b
[rcore_desktop] Fix 3693 initial window geometry (#3950)
* Rework window placement and dimensions for multi-monitor setups;

- fullscreen apps use primary monitor, exclusively
- non-fullscreen apps come in two variants:
a) pre-determined window size by user
b) use-active-monitor dimensions by user specifying 0x0
Either way, the window shall be centred at the monitor where it was created

This may have been the original intent, yet the primary monitor was used also for the second case, regardless where the window opened.

* Clean up code, handle error, fix integer-overflow for centering windowed fullscreen
2024-05-05 20:22:58 +02:00
..
rcore_android.c Update rcore_android.c (#3910) 2024-04-10 10:34:05 +02:00
rcore_desktop.c [rcore_desktop] Fix 3693 initial window geometry (#3950) 2024-05-05 20:22:58 +02:00
rcore_desktop_sdl.c Fix GetKeyPressed for PLATFORM_DESKTOP_SDL (#3869) 2024-04-15 23:09:20 +02:00
rcore_drm.c Fixing gamepad buttons not working in drm backend (#3888) 2024-03-29 01:40:20 +01:00
rcore_template.c Update copyright to 2024 2024-01-02 20:58:12 +01:00
rcore_web.c Gamepad rumble support with SDL2 (#3819) 2024-02-24 16:47:27 +01:00