mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 23:07:18 +00:00
[client] fixed realignment when in server mode
This commit is contained in:
parent
62ab543720
commit
b61ba15a9c
@ -679,11 +679,13 @@ int eventThread(void * arg)
|
|||||||
case SDL_MOUSEMOTION:
|
case SDL_MOUSEMOTION:
|
||||||
{
|
{
|
||||||
if (
|
if (
|
||||||
|
!serverMode && (
|
||||||
event.motion.x < state.dstRect.x ||
|
event.motion.x < state.dstRect.x ||
|
||||||
event.motion.x > state.dstRect.x + state.dstRect.w ||
|
event.motion.x > state.dstRect.x + state.dstRect.w ||
|
||||||
event.motion.y < state.dstRect.y ||
|
event.motion.y < state.dstRect.y ||
|
||||||
event.motion.y > state.dstRect.y + state.dstRect.h
|
event.motion.y > state.dstRect.y + state.dstRect.h
|
||||||
)
|
)
|
||||||
|
)
|
||||||
{
|
{
|
||||||
realignGuest = true;
|
realignGuest = true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user