Another try at fixing broken mouse behavior when a windows system

has multiple monitors with 0,0 of the virtual desktop not at the
upper-left.
This commit is contained in:
crs
2003-01-14 19:46:17 +00:00
parent 0b67cdedf6
commit f7e936faa9
3 changed files with 15 additions and 12 deletions

View File

@@ -310,13 +310,6 @@ CMSWindowsPrimaryScreen::onPreDispatch(const CEvent* event)
m_y = static_cast<SInt32>(msg->lParam);
if (!isActive()) {
// shift by origin of virtual screen. the synergy
// hook DLL does not account for
SInt32 w, h;
m_screen->getShape(x, y, w, h);
x += m_x;
y += m_y;
// motion on primary screen
m_receiver->onMouseMovePrimary(x, y);
}