[client] Change default grabKeyboardOnFocus to false

This commit is contained in:
Netboy3 2021-10-14 10:29:25 -04:00 committed by Geoffrey McRae
parent 7ce7dec272
commit c3d2ad92c5
2 changed files with 2 additions and 2 deletions

View File

@ -291,7 +291,7 @@ static struct Option options[] =
.name = "grabKeyboardOnFocus", .name = "grabKeyboardOnFocus",
.description = "Grab the keyboard when focused", .description = "Grab the keyboard when focused",
.type = OPTION_TYPE_BOOL, .type = OPTION_TYPE_BOOL,
.value.x_bool = true, .value.x_bool = false,
}, },
{ {
.module = "input", .module = "input",

View File

@ -470,7 +470,7 @@ The following is a complete list of options accepted by this application
+==============================+=======+=====================+==================================================================================+ +==============================+=======+=====================+==================================================================================+
| input:grabKeyboard | -G | yes | Grab the keyboard in capture mode | | input:grabKeyboard | -G | yes | Grab the keyboard in capture mode |
+------------------------------+-------+---------------------+----------------------------------------------------------------------------------+ +------------------------------+-------+---------------------+----------------------------------------------------------------------------------+
| input:grabKeyboardOnFocus | | yes | Grab the keyboard when focused | | input:grabKeyboardOnFocus | | no | Grab the keyboard when focused |
+------------------------------+-------+---------------------+----------------------------------------------------------------------------------+ +------------------------------+-------+---------------------+----------------------------------------------------------------------------------+
| input:releaseKeysOnFocusLoss | | yes | On focus loss, send key up events to guest for all held keys | | input:releaseKeysOnFocusLoss | | yes | On focus loss, send key up events to guest for all held keys |
+------------------------------+-------+---------------------+----------------------------------------------------------------------------------+ +------------------------------+-------+---------------------+----------------------------------------------------------------------------------+