mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-12 18:38:12 +00:00
[client] spice: add option to ignore the windows key
If active this will prevent the client from sending keyboard events for the windows key. The idea is to allow people to keep the windows key bound to their WMs default action without causing the Windows start menu to open
This commit is contained in:
@@ -260,6 +260,13 @@ static struct Option options[] =
|
||||
.value.x_int = SDL_SCANCODE_SCROLLLOCK,
|
||||
.toString = optScancodeToString
|
||||
},
|
||||
{
|
||||
.module = "input",
|
||||
.name = "ignoreWindowsKeys",
|
||||
.description = "Do not pass events for the windows keys to the guest",
|
||||
.type = OPTION_TYPE_BOOL,
|
||||
.value.x_bool = false
|
||||
},
|
||||
{
|
||||
.module = "input",
|
||||
.name = "hideCursor",
|
||||
@@ -443,6 +450,7 @@ bool config_load(int argc, char * argv[])
|
||||
params.grabKeyboard = option_get_bool ("input", "grabKeyboard" );
|
||||
params.grabKeyboardOnFocus = option_get_bool ("input", "grabKeyboardOnFocus");
|
||||
params.escapeKey = option_get_int ("input", "escapeKey" );
|
||||
params.ignoreWindowsKeys = option_get_bool ("input", "ignoreWindowsKeys" );
|
||||
params.hideMouse = option_get_bool ("input", "hideCursor" );
|
||||
params.mouseSens = option_get_int ("input", "mouseSens" );
|
||||
params.mouseRedraw = option_get_bool ("input", "mouseRedraw" );
|
||||
|
Reference in New Issue
Block a user