[client] spice: new option spice:showCursorDot added

This option if disabled will prevent the client from showing a "dot"
cursor when the mouse is over the window, but the window is unfocused.
This commit is contained in:
Geoffrey McRae
2021-04-29 12:50:43 +10:00
parent 4c0c8f804f
commit 9900b263d4
3 changed files with 18 additions and 6 deletions

View File

@@ -63,6 +63,9 @@ void app_handleFocusEvent(bool focused)
for (int key = 0; key < KEY_MAX; key++)
if (g_state.keyDown[key])
app_handleKeyRelease(key);
if (!g_params.showCursorDot)
g_state.ds->showPointer(false);
}
g_cursor.realign = true;