mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-11 09:58:10 +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:
@@ -341,7 +341,9 @@ int main_cursorThread(void * unused)
|
||||
RENDERER(onMouseEvent,
|
||||
g_cursor.guest.visible && (g_cursor.draw || !g_params.useSpiceInput),
|
||||
g_cursor.guest.x,
|
||||
g_cursor.guest.y
|
||||
g_cursor.guest.y,
|
||||
g_cursor.guest.hx,
|
||||
g_cursor.guest.hy
|
||||
);
|
||||
|
||||
if (!g_state.stopVideo)
|
||||
@@ -456,7 +458,9 @@ int main_cursorThread(void * unused)
|
||||
RENDERER(onMouseEvent,
|
||||
g_cursor.guest.visible && (g_cursor.draw || !g_params.useSpiceInput),
|
||||
g_cursor.guest.x,
|
||||
g_cursor.guest.y
|
||||
g_cursor.guest.y,
|
||||
g_cursor.guest.hx,
|
||||
g_cursor.guest.hy
|
||||
);
|
||||
|
||||
if (g_params.mouseRedraw && g_cursor.guest.visible && !g_state.stopVideo)
|
||||
|
Reference in New Issue
Block a user