mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-07-29 18:43:38 +00:00
[client] egl: keep the mouse cursor 1:1 when downscaling
This keeps the cursor a usable size when the guest is running a high resolution and downscaling (ie, 4K -> FHD).
This commit is contained in:
parent
74444f8eed
commit
d69069fb09
8 changed files with 137 additions and 52 deletions
|
@ -338,7 +338,8 @@ bool opengl_onMouseShape(LG_Renderer * renderer, const LG_RendererCursor cursor,
|
|||
return true;
|
||||
}
|
||||
|
||||
bool opengl_onMouseEvent(LG_Renderer * renderer, const bool visible, const int x, const int y)
|
||||
bool opengl_onMouseEvent(LG_Renderer * renderer, const bool visible,
|
||||
int x, int y, const int hx, const int hy)
|
||||
{
|
||||
struct Inst * this = UPCAST(struct Inst, renderer);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue