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:
parent
8f229393b8
commit
66c4b66d7c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue