mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[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:
parent
1dacf7b2de
commit
0f261abb07
@ -1242,6 +1242,7 @@ static void egl_spiceShow(LG_Renderer * renderer, bool show)
|
|||||||
{
|
{
|
||||||
struct Inst * this = UPCAST(struct Inst, renderer);
|
struct Inst * this = UPCAST(struct Inst, renderer);
|
||||||
this->showSpice = show;
|
this->showSpice = show;
|
||||||
|
egl_calc_mouse_size(this);
|
||||||
egl_desktopSpiceShow(this->desktop, show);
|
egl_desktopSpiceShow(this->desktop, show);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user