[client] egl: recalculate mouse position when toggling spice

Without this step, the cursor with be transformed for rendering the
spice cursor, not the IVSHMEM cursor.
This commit is contained in:
Quantum 2022-09-18 21:38:20 -04:00 committed by Geoffrey McRae
parent 1dacf7b2de
commit 0f261abb07

View File

@ -1242,6 +1242,7 @@ static void egl_spiceShow(LG_Renderer * renderer, bool show)
{
struct Inst * this = UPCAST(struct Inst, renderer);
this->showSpice = show;
egl_calc_mouse_size(this);
egl_desktopSpiceShow(this->desktop, show);
}