[client] x11: change to a more visible "dot" cursor

This change alters the small square dot cursor to a more visible 16x16
cursor for X11. A new option `spice:largeDotCursor` can be set to use an
alternative 32x32 cursor for the vision impaired.
This commit is contained in:
Geoffrey McRae
2023-09-13 21:51:53 +10:00
parent b2ec60d2dc
commit e658c2e0a2
15 changed files with 165 additions and 22 deletions

View File

@@ -499,6 +499,13 @@ static struct Option options[] =
.type = OPTION_TYPE_BOOL,
.value.x_bool = true
},
{
.module = "spice",
.name = "largeCursorDot",
.description = "Use a larger version of the \"dot\" cursor",
.type = OPTION_TYPE_BOOL,
.value.x_bool = false
},
// audio options
{
@@ -728,6 +735,7 @@ bool config_load(int argc, char * argv[])
g_params.captureOnStart = option_get_bool("spice", "captureOnStart");
g_params.alwaysShowCursor = option_get_bool("spice", "alwaysShowCursor");
g_params.showCursorDot = option_get_bool("spice", "showCursorDot");
g_params.largeCursorDot = option_get_bool("spice", "largeCursorDot");
}
g_params.audioPeriodSize = option_get_int("audio", "periodSize");