Fixed button mapping. Was returning the physical button instead of

the logical button, but XTest wants the logical button.  Apparently,
the XTest implementation on my mac laptop has it backwards.
This commit is contained in:
crs 2003-09-07 13:08:30 +00:00
parent 6d3c536717
commit f4d7ea3d7b
1 changed files with 1 additions and 1 deletions

View File

@ -1740,7 +1740,7 @@ CXWindowsScreen::mapButtonToX(ButtonID id) const
}
// map button
return static_cast<unsigned int>(m_buttons[id - 1]);
return static_cast<unsigned int>(id);
}
void