mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] remove noise about scaling/alignment as this is fixed
This commit is contained in:
parent
4d81aaa763
commit
64ad862116
@ -170,16 +170,6 @@ static inline void updatePositionInfo()
|
|||||||
state.scaleX = (float)state.srcSize.y / (float)state.dstRect.h;
|
state.scaleX = (float)state.srcSize.y / (float)state.dstRect.h;
|
||||||
state.scaleY = (float)state.srcSize.x / (float)state.dstRect.w;
|
state.scaleY = (float)state.srcSize.x / (float)state.dstRect.w;
|
||||||
|
|
||||||
DEBUG_INFO("client %dx%d, guest %dx%d, target %dx%d, scaleX: %.2f, scaleY %.2f",
|
|
||||||
w, h,
|
|
||||||
state.srcSize.x, state.srcSize.y,
|
|
||||||
state.dstRect.w, state.dstRect.h,
|
|
||||||
state.scaleX , state.scaleY
|
|
||||||
);
|
|
||||||
|
|
||||||
if (w != state.srcSize.x || h != state.srcSize.y)
|
|
||||||
DEBUG_WARN("Window size doesn't match guest resolution, cursor alignment may not be reliable");
|
|
||||||
|
|
||||||
if (state.lgr)
|
if (state.lgr)
|
||||||
state.lgr->on_resize(state.lgrData, w, h, state.dstRect);
|
state.lgr->on_resize(state.lgrData, w, h, state.dstRect);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user