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:
crs 2002-10-20 22:39:54 +00:00
parent 8f229393b8
commit 66c4b66d7c
1 changed files with 1 additions and 1 deletions

View File

@ -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,