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:
parent
6d3c536717
commit
f4d7ea3d7b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue