cflip
5c68ca8f48
Ports/SDL2: Update window focus event listeners
...
Fixes an issue where ClassiCube would get stuck on the pause menu.
2022-11-28 13:11:16 +01:00
kleines Filmröllchen
20e51025bb
Ports/SDL2: Rename LibGUI Window function in accordance with 5d56756
2022-11-23 15:06:15 +01:00
cflip
f872d945c3
Ports/SDL2: Add null check to SerenitySDLWidget::paint_event
...
This was causing a crash when message boxes appeared before the window
painted anything.
2022-10-19 22:07:05 +02:00
Jelle Raaijmakers
09d211e08a
Ports: Make SDL2 build since recent GL::create_context
changes
...
We also directly invoke `::present` on `GLContext` instead of going
through the static method `GL::present_context`.
2022-09-17 19:38:30 +02:00
Jelle Raaijmakers
6af184b48b
Ports: Support SDL_WINDOWEVENT_CLOSE
in SDL2
...
This allows PrBoom+ to properly quit the application when closing the
main window.
2022-09-03 00:07:24 +02:00
Jelle Raaijmakers
14ece2ac90
Ports: Support "restarts" in SDL2
...
SDL2 applications are prone to reinitializing the SDL components when,
for example, changing the display resolution. This would lead to
crashes since we were doing things in the wrong order.
* We now decouple `GLContext` from `SDL_Window` a bit more, allowing
the window to be destroyed before the GLContext.
* Do not quit the `GUI::Application`, let our event loop handle exiting
These changes allow changing the display resolution in the Quake3 port.
2022-08-31 12:42:55 +01:00
Tim Schumacher
831afe3c3d
Ports/SDL2: Update to 2.24.0
2022-08-23 13:30:48 +01:00
Tim Schumacher
2e31a479c4
Ports/SDL2: Do an out-of-tree build
...
SDL 2.24.0 starts having include loops if we try to do an in-tree build
against its wishes, so let's not do that anymore.
2022-08-23 13:30:48 +01:00
Tim Schumacher
218e6d2f5e
Ports/SDL2: Rename LibAudio connection to ConnectionToServer
2022-07-23 00:21:13 +01:00
Tim Schumacher
4cf55c4056
Ports/SDL2: Update for the recent StringView
changes
2022-07-16 23:13:43 +01:00
Tim Schumacher
333429fa47
Ports/SDL2: Implement a basic keyboard focus
...
Some SDL applications will not process inputs that they receive without
ensuring that they have the keyboard input focus.
2022-06-10 14:21:20 +01:00
Tim Schumacher
d426c5a4b2
Ports: Format patches without numbering, commit hash or version number
2022-06-08 17:58:36 +01:00
Tim Schumacher
5a24accfa7
Ports: Update SDL2 to 2.0.22
2022-05-25 23:04:52 +01:00
Tim Schumacher
cb6a406190
Ports: Return SDL2 to upstream
2022-05-25 23:04:52 +01:00