[client] imgui: ask display server to display cursors

This commit is contained in:
Quantum
2021-07-29 17:36:28 -04:00
committed by Geoffrey McRae
parent 11a5864969
commit 0402dd521a
4 changed files with 49 additions and 6 deletions

View File

@@ -136,6 +136,7 @@ static void bind_passthrough(int sc, void * opaque)
static void bind_toggleOverlay(int sc, void * opaque)
{
g_state.overlayInput ^= true;
g_state.cursorLast = -2;
if (g_state.overlayInput)
{
g_state.io->ConfigFlags &= ~ImGuiConfigFlags_NoMouse;