config: add mouse-follows-focus option
This commit is contained in:
parent
0d4ee299d4
commit
216d104b73
14 changed files with 134 additions and 6 deletions
|
|
@ -1061,6 +1061,10 @@
|
|||
"type": "boolean",
|
||||
"description": "Configures whether moving the mouse over a window automatically moves the keyboard\nfocus to that window.\n\nThe default is `true`.\n"
|
||||
},
|
||||
"unstable-mouse-follows-focus": {
|
||||
"type": "boolean",
|
||||
"description": "Configures whether the mouse cursor is automatically centered on the active window\nwhen focus changes via keyboard commands.\n\nWhen enabled, the cursor will be automatically positioned to the center of the\nactive window when focus changes through keyboard commands such as `focus-left`,\n`focus-right`, `show-workspace`, etc.\n\nThe default is `false`.\n\nThis option is unstable due to various issues. It is not subject to the usual\nsemver guarantees.\n\n- Example:\n\n ```toml\n unstable-mouse-follows-focus = true\n ```\n"
|
||||
},
|
||||
"window-management-key": {
|
||||
"type": "string",
|
||||
"description": "Configures a key that will enable window management mode while pressed.\n\nIn window management mode, floating windows can be moved by pressing the left\nmouse button and all windows can be resize by pressing the right mouse button.\n\n- Example:\n\n ```toml\n window-management-key = \"Alt_L\"\n ```\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue