tablet: added option to hide cursor (#12525)
This commit is contained in:
parent
6175ecd4c4
commit
315806f598
7 changed files with 25 additions and 4 deletions
|
|
@ -1682,6 +1682,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
|
|||
.type = CONFIG_OPTION_BOOL,
|
||||
.data = SConfigOptionDescription::SBoolData{true},
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "cursor:hide_on_tablet",
|
||||
.description = "Hides the cursor when the last input was a tablet input until a mouse input is done.",
|
||||
.type = CONFIG_OPTION_BOOL,
|
||||
.data = SConfigOptionDescription::SBoolData{true},
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "cursor:use_cpu_buffer",
|
||||
.description = "Makes HW cursors use a CPU buffer. Required on Nvidia to have HW cursors. Experimental",
|
||||
|
|
|
|||
|
|
@ -739,6 +739,7 @@ CConfigManager::CConfigManager() {
|
|||
registerConfigVar("cursor:sync_gsettings_theme", Hyprlang::INT{1});
|
||||
registerConfigVar("cursor:hide_on_key_press", Hyprlang::INT{0});
|
||||
registerConfigVar("cursor:hide_on_touch", Hyprlang::INT{1});
|
||||
registerConfigVar("cursor:hide_on_tablet", Hyprlang::INT{0});
|
||||
registerConfigVar("cursor:use_cpu_buffer", Hyprlang::INT{2});
|
||||
registerConfigVar("cursor:warp_back_after_non_mouse_input", Hyprlang::INT{0});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue