attempt to fix stuttering when leaving win32 screen. seems to

work but will let testers make the final call.  also fixed
desktop synchronization by setting a variable that was
mistakenly left unset.  and tried to work around an apparent
bug in MsgWaitForMultipleObjects() that prevented the service
from closing down properly.  start/pause/continue/stop
sequence still doesn't shut down correctly.  start/pause/stop
and start/stop work fine.
This commit is contained in:
crs
2002-07-17 17:27:41 +00:00
parent 82cdfb478a
commit 76cc62d133
7 changed files with 108 additions and 96 deletions

View File

@@ -187,14 +187,7 @@ mouseHook(int code, WPARAM wParam, LPARAM lParam)
// relay the motion
SInt32 x = (SInt32)info->pt.x;
SInt32 y = (SInt32)info->pt.y;
if (info->dwExtraInfo == 0x12345678) {
PostThreadMessage(g_threadID,
SYNERGY_MSG_POST_WARP, x, y);
}
else {
PostThreadMessage(g_threadID,
SYNERGY_MSG_MOUSE_MOVE, x, y);
}
PostThreadMessage(g_threadID, SYNERGY_MSG_MOUSE_MOVE, x, y);
}
return 1;
}