From 988f7b05615c86532cceb584c0c3990a2e417e4c Mon Sep 17 00:00:00 2001 From: Bananymous Date: Fri, 18 Oct 2024 03:45:15 +0300 Subject: [PATCH] ports: Fix doom port to use the new GUI events --- ports/doom/patches/0001-Add-support-for-banan-os.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/doom/patches/0001-Add-support-for-banan-os.patch b/ports/doom/patches/0001-Add-support-for-banan-os.patch index 7d9a245d..fa5a81cf 100644 --- a/ports/doom/patches/0001-Add-support-for-banan-os.patch +++ b/ports/doom/patches/0001-Add-support-for-banan-os.patch @@ -1,6 +1,6 @@ From 0f37d9f2df042eb8ba021dd91b898c1f07d86b58 Mon Sep 17 00:00:00 2001 From: Bananymous -Date: Mon, 3 Jun 2024 20:01:40 +0300 +Date: Fri, 18 Oct 2024 03:44:10 +0300 Subject: [PATCH] Add support for banan-os --- @@ -114,7 +114,7 @@ index 0000000..9161771 +{ + s_window = MUST(LibGUI::Window::create(DOOMGENERIC_RESX, DOOMGENERIC_RESY, "DOOM"_sv)); + s_window->set_key_event_callback( -+ [](LibGUI::EventPacket::KeyEvent event) ++ [](LibGUI::EventPacket::KeyEvent::event_t event) + { + unsigned short doom_key = 0; + switch (event.key)