From dd574146fb5f05c1c0a469a4ad4a20c46bb37d74 Mon Sep 17 00:00:00 2001
From: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
Date: Tue, 2 May 2023 03:29:47 +0200
Subject: Add hide-cursor command line argument & always hide cursor option
(#4613)
* Add hide-cursor command line argument
* gtk: Adjust SettingsWindow for hide cursor options
* ava: Adjust SettingsWindow for hide cursor options
* ava: Add override check for HideCursor arg
* Remove copy&paste sins
* ava: Leave a little more room between the options
* gtk: Fix hide cursor issues
* ava: Only hide cursor if it's within the embedded window
---
src/Ryujinx.Ui.Common/Configuration/ConfigurationFileFormat.cs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'src/Ryujinx.Ui.Common/Configuration/ConfigurationFileFormat.cs')
diff --git a/src/Ryujinx.Ui.Common/Configuration/ConfigurationFileFormat.cs b/src/Ryujinx.Ui.Common/Configuration/ConfigurationFileFormat.cs
index 3168766b..f0489915 100644
--- a/src/Ryujinx.Ui.Common/Configuration/ConfigurationFileFormat.cs
+++ b/src/Ryujinx.Ui.Common/Configuration/ConfigurationFileFormat.cs
@@ -162,9 +162,9 @@ namespace Ryujinx.Ui.Common.Configuration
public bool ShowConfirmExit { get; set; }
///
- /// Hide Cursor on Idle
+ /// Whether to hide cursor on idle, always or never
///
- public bool HideCursorOnIdle { get; set; }
+ public HideCursorMode HideCursor { get; set; }
///
/// Enables or disables Vertical Sync
@@ -395,4 +395,4 @@ namespace Ryujinx.Ui.Common.Configuration
JsonHelper.SerializeToFile(path, this, ConfigurationFileFormatSettings.SerializerContext.ConfigurationFileFormat);
}
}
-}
+}
\ No newline at end of file
--
cgit v1.2.3