Wiggle the mouse at connection start to wake the display up
This commit is contained in:
parent
bd825776b3
commit
de915efaaf
1 changed files with 6 additions and 0 deletions
|
|
@ -361,6 +361,12 @@ int LiStartConnection(PSERVER_INFORMATION serverInfo, PSTREAM_CONFIGURATION stre
|
||||||
LC_ASSERT(stage == STAGE_INPUT_STREAM_START);
|
LC_ASSERT(stage == STAGE_INPUT_STREAM_START);
|
||||||
ListenerCallbacks.stageComplete(STAGE_INPUT_STREAM_START);
|
ListenerCallbacks.stageComplete(STAGE_INPUT_STREAM_START);
|
||||||
Limelog("done\n");
|
Limelog("done\n");
|
||||||
|
|
||||||
|
// Wiggle the mouse a bit to wake the display up
|
||||||
|
LiSendMouseMoveEvent(1, 1);
|
||||||
|
PltSleepMs(10);
|
||||||
|
LiSendMouseMoveEvent(-1, -1);
|
||||||
|
PltSleepMs(10);
|
||||||
|
|
||||||
ListenerCallbacks.connectionStarted();
|
ListenerCallbacks.connectionStarted();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue