SteamOS: don't force fullscreen in nested Desktop sessions (#1233)
This commit is contained in:
@@ -19,7 +19,10 @@ const numberRegex = /^[0-9]*$/;
|
|||||||
|
|
||||||
let steamPipeQueue = Promise.resolve();
|
let steamPipeQueue = Promise.resolve();
|
||||||
|
|
||||||
export const isDeckGameMode = process.env.SteamOS === "1" && process.env.SteamGamepadUI === "1";
|
export const isDeckGameMode =
|
||||||
|
process.env.SteamOS === "1" &&
|
||||||
|
process.env.SteamGamepadUI === "1" &&
|
||||||
|
process.env.XDG_CURRENT_DESKTOP === "gamescope";
|
||||||
|
|
||||||
export function applyDeckKeyboardFix() {
|
export function applyDeckKeyboardFix() {
|
||||||
if (!isDeckGameMode) return;
|
if (!isDeckGameMode) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user