From c3d2ad92c556fe4eab6b46cf1dccbe22d912f97a Mon Sep 17 00:00:00 2001 From: Netboy3 <1472804+netboy3@users.noreply.github.com> Date: Thu, 14 Oct 2021 10:29:25 -0400 Subject: [PATCH] [client] Change default grabKeyboardOnFocus to false --- client/src/config.c | 2 +- doc/install.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/config.c b/client/src/config.c index 78b051ef..ae355833 100644 --- a/client/src/config.c +++ b/client/src/config.c @@ -291,7 +291,7 @@ static struct Option options[] = .name = "grabKeyboardOnFocus", .description = "Grab the keyboard when focused", .type = OPTION_TYPE_BOOL, - .value.x_bool = true, + .value.x_bool = false, }, { .module = "input", diff --git a/doc/install.rst b/doc/install.rst index 399e7d24..2f2d4b89 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -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: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 | +------------------------------+-------+---------------------+----------------------------------------------------------------------------------+