Wiggle the mouse at connection start to wake the display up

This commit is contained in:
Cameron Gutman 2016-12-13 20:23:32 -08:00
parent bd825776b3
commit de915efaaf

View File

@ -361,6 +361,12 @@ int LiStartConnection(PSERVER_INFORMATION serverInfo, PSTREAM_CONFIGURATION stre
LC_ASSERT(stage == STAGE_INPUT_STREAM_START);
ListenerCallbacks.stageComplete(STAGE_INPUT_STREAM_START);
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();