renderer: Add cursor:invisible to allow to hide the cursor (#11058)

This commit is contained in:
Mozzarella32 2025-07-20 10:40:21 +00:00 committed by GitHub
parent 58b6eceb6d
commit b7a91e02e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 2 deletions

View file

@ -1493,6 +1493,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
* cursor:
*/
SConfigOptionDescription{
.value = "cursor:invisible",
.description = "don't render cursors",
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{false},
},
SConfigOptionDescription{
.value = "cursor:no_hardware_cursors",
.description = "disables hardware cursors. Auto = disable when multi-gpu on nvidia",