mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-11 22:25:53 +08:00
Fixed conditional to test for multimon to do nasty win32 mouse
positioning hack. Was doing hack if *not* a multiple monitor system but should've been doing it if is *is* a multimon system.
This commit is contained in:
@@ -344,7 +344,7 @@ CMSWindowsSecondaryScreen::warpCursor(SInt32 x, SInt32 y)
|
||||
|
||||
// move the mouse directly to target position on NT family or if
|
||||
// not using multiple monitors.
|
||||
if (m_screen->isMultimon() || !m_is95Family) {
|
||||
if (!m_screen->isMultimon() || !m_is95Family) {
|
||||
SInt32 x0, y0, w, h;
|
||||
m_screen->getShape(x0, y0, w, h);
|
||||
mouse_event(MOUSEEVENTF_MOVE | MOUSEEVENTF_ABSOLUTE,
|
||||
|
||||
Reference in New Issue
Block a user