mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 21:06:09 +00:00
Four of Armada's patches apply to 3.16.29 as they are (appid-focus fallback, ARM64 night mode, ARM64 colour-temperature slider, P3 red); two more are ported by hand: realtime-priority Vulkan queues on GAMESCOPE_FORCE_VULKAN_REALTIME=1 without CAP_SYS_NICE, and the gamepad cursor sprite following the X pointer. build-gamescope.yml builds Arch Linux ARM's package with them in an Arch container, checks every NEEDED library against the runtime's own list, and publishes the binary as a release asset for the apk to stage over /usr/local/bin/gamescope.
32 lines
861 B
Diff
32 lines
861 B
Diff
From 1a8b967a8d4c35457719d94137f2695967a1f7d8 Mon Sep 17 00:00:00 2001
|
|
From: JPyke3 <github@pyk.ee>
|
|
Date: Sun, 2 Aug 2026 22:24:43 +1000
|
|
Subject: [PATCH] steamcompmgr: work around ARM64 Steam night mode property
|
|
|
|
---
|
|
src/steamcompmgr.cpp | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp
|
|
index b74b8a7e..f7fb9895 100644
|
|
--- a/src/steamcompmgr.cpp
|
|
+++ b/src/steamcompmgr.cpp
|
|
@@ -7394,9 +7394,17 @@ handle_property_notify(xwayland_ctx_t *ctx, XPropertyEvent *ev)
|
|
}
|
|
|
|
nightmode_t nightmode;
|
|
+
|
|
+ #if defined (__aarch64__)
|
|
+ nightmode.amount = vec[0];
|
|
+ nightmode.hue = 25.0f / 360.0f;
|
|
+ nightmode.saturation = vec[1];
|
|
+ #else
|
|
nightmode.amount = vec[0];
|
|
nightmode.hue = vec[1];
|
|
nightmode.saturation = vec[2];
|
|
+ #endif
|
|
+
|
|
|
|
if ( set_color_nightmode( nightmode ) )
|
|
hasRepaint = true;
|