mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:52:57 +00:00
[client] core: don't try to send LGMP messages if the video is stopped
If the video stream is stopped the LGMP session is not valid, so we can't send messages to the client.
This commit is contained in:
parent
74444f8eed
commit
3df7d30cd5
1 changed files with 2 additions and 1 deletions
|
@ -448,7 +448,8 @@ void core_handleMouseNormal(double ex, double ey)
|
||||||
struct DoublePoint guest;
|
struct DoublePoint guest;
|
||||||
util_localCurToGuest(&guest);
|
util_localCurToGuest(&guest);
|
||||||
|
|
||||||
if (g_state.kvmfrFeatures & KVMFR_FEATURE_SETCURSORPOS)
|
if (!g_state.stopVideo &&
|
||||||
|
g_state.kvmfrFeatures & KVMFR_FEATURE_SETCURSORPOS)
|
||||||
{
|
{
|
||||||
const KVMFRSetCursorPos msg = {
|
const KVMFRSetCursorPos msg = {
|
||||||
.msg.type = KVMFR_MESSAGE_SETCURSORPOS,
|
.msg.type = KVMFR_MESSAGE_SETCURSORPOS,
|
||||||
|
|
Loading…
Reference in a new issue