mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-12 02:18:12 +00:00
[client] spice: remove dpi which is no longer used
DPI was originally added to workaround cursor movement scaling, but since due to changes with mouse handling, it's no longer required.
This commit is contained in:
@@ -260,12 +260,10 @@ void core_updatePositionInfo(void)
|
||||
|
||||
g_cursor.useScale = (
|
||||
srcH != g_state.dstRect.h ||
|
||||
srcW != g_state.dstRect.w ||
|
||||
g_cursor.guest.dpiScale != 100);
|
||||
srcW != g_state.dstRect.w);
|
||||
|
||||
g_cursor.scale.x = (float)srcW / (float)g_state.dstRect.w;
|
||||
g_cursor.scale.y = (float)srcH / (float)g_state.dstRect.h;
|
||||
g_cursor.dpiScale = g_cursor.guest.dpiScale / 100.0f;
|
||||
|
||||
if (!g_state.posInfoValid)
|
||||
{
|
||||
|
Reference in New Issue
Block a user