mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-22 12:39:49 +00:00
chore: Move to chimeraos.patch
This commit is contained in:
parent
70c5d6eb54
commit
5a3d586ee8
@ -129,7 +129,7 @@ index 97ef446..85e5126 100644
|
|||||||
( m_Mutable.szMakePNP == "VLV"sv && m_Mutable.szModel == "Jupiter"sv ) ||
|
( m_Mutable.szMakePNP == "VLV"sv && m_Mutable.szModel == "Jupiter"sv ) ||
|
||||||
( m_Mutable.szMakePNP == "VLV"sv && m_Mutable.szModel == "Galileo"sv );
|
( m_Mutable.szMakePNP == "VLV"sv && m_Mutable.szModel == "Galileo"sv );
|
||||||
|
|
||||||
+ if ( g_customRefreshRates.size() > 0 ) {
|
+ if ( g_customRefreshRates.size() > 0 && GetScreenType() == GAMESCOPE_SCREEN_TYPE_INTERNAL ) {
|
||||||
+ m_Mutable.ValidDynamicRefreshRates = std::span(g_customRefreshRates);
|
+ m_Mutable.ValidDynamicRefreshRates = std::span(g_customRefreshRates);
|
||||||
+ return;
|
+ return;
|
||||||
+ }
|
+ }
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
From 508e697c8038cd947405850aa86d121b51bdeb72 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Kyle Gospodnetich <me@kylegospodneti.ch>
|
|
||||||
Date: Tue, 2 Jul 2024 14:12:47 -0700
|
|
||||||
Subject: [PATCH] Only change refresh rates on internal displays
|
|
||||||
|
|
||||||
---
|
|
||||||
src/drm.cpp | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/drm.cpp b/src/drm.cpp
|
|
||||||
index 8309140f5..5defb305e 100644
|
|
||||||
--- a/src/drm.cpp
|
|
||||||
+++ b/src/drm.cpp
|
|
||||||
@@ -2138,7 +2138,7 @@ namespace gamescope
|
|
||||||
( m_Mutable.szMakePNP == "VLV"sv && m_Mutable.szModel == "Jupiter"sv ) ||
|
|
||||||
( m_Mutable.szMakePNP == "VLV"sv && m_Mutable.szModel == "Galileo"sv );
|
|
||||||
|
|
||||||
- if ( g_customRefreshRates.size() > 0 ) {
|
|
||||||
+ if ( g_customRefreshRates.size() > 0 && GetScreenType() == GAMESCOPE_SCREEN_TYPE_INTERNAL ) {
|
|
||||||
m_Mutable.ValidDynamicRefreshRates = std::span(g_customRefreshRates);
|
|
||||||
return;
|
|
||||||
}
|
|
@ -18,7 +18,6 @@ Source0: stb.pc
|
|||||||
Patch0: chimeraos.patch
|
Patch0: chimeraos.patch
|
||||||
Patch1: disable-steam-touch-click-atom.patch
|
Patch1: disable-steam-touch-click-atom.patch
|
||||||
Patch2: deckhd.patch
|
Patch2: deckhd.patch
|
||||||
Patch3: external-fix.patch
|
|
||||||
|
|
||||||
BuildRequires: meson >= 0.54.0
|
BuildRequires: meson >= 0.54.0
|
||||||
BuildRequires: ninja-build
|
BuildRequires: ninja-build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user