mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 23:14:20 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user