1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-09-24 22:02:02 -05:00

Hide Cursor On Idle (#1993)

* Implement "Hide Cursor On Idle" option

Adds a general option to autohide the cursor after 8s have elapsed.

* Fix cursor not hiding on Windows and dispose it

* Don't dispose cursor, fix var names

* Abide by the GNOME documentation

* Fix nits

* Disabled by default, make it so it doesn't utilize any timer

* Remove *NIX time and extra lines

* Don't calculate if option is disabled

* Move if case

* Fix alignment
This commit is contained in:
pineappleEA
2021-02-15 23:48:21 +02:00
committed by GitHub
parent 80ed8596c1
commit 6f1d964801
7 changed files with 97 additions and 5 deletions

View File

@@ -1209,6 +1209,17 @@
true,
false
]
},
"hide_cursor_on_idle": {
"$id": "#/properties/hide_cursor_on_idle",
"type": "boolean",
"title": "Hide Cursor On Idle",
"description": "Hides the cursor after being idle for 5 seconds",
"default": false,
"examples": [
true,
false
]
},
"enable_vsync": {
"$id": "#/properties/enable_vsync",