mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] main: don't trigger redraws if the video feed is disabled
If the video feed is disabled we are not drawing the cursor, so don't cause needless redraws
This commit is contained in:
parent
03c247a9ff
commit
73357988e6
@ -256,6 +256,7 @@ static int cursorThread(void * unused)
|
||||
g_cursor.guest.y
|
||||
);
|
||||
|
||||
if (!g_state.stopVideo)
|
||||
lgSignalEvent(e_frame);
|
||||
}
|
||||
|
||||
@ -354,7 +355,7 @@ static int cursorThread(void * unused)
|
||||
g_cursor.guest.y
|
||||
);
|
||||
|
||||
if (g_params.mouseRedraw && g_cursor.guest.visible)
|
||||
if (g_params.mouseRedraw && g_cursor.guest.visible && !g_state.stopVideo)
|
||||
lgSignalEvent(e_frame);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user