From 66c4b66d7c0292aec8a0bf6f0aa3f732c87cf4e6 Mon Sep 17 00:00:00 2001 From: crs Date: Sun, 20 Oct 2002 22:39:54 +0000 Subject: [PATCH] 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. --- lib/client/CMSWindowsSecondaryScreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/CMSWindowsSecondaryScreen.cpp b/lib/client/CMSWindowsSecondaryScreen.cpp index 4357e615..a7fc1246 100644 --- a/lib/client/CMSWindowsSecondaryScreen.cpp +++ b/lib/client/CMSWindowsSecondaryScreen.cpp @@ -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,