mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 07:22:21 +08:00
Fixed incorrect mouse button swapping on client screens.
This commit is contained in:
@@ -450,7 +450,7 @@ CXWindowsSecondaryScreen::mapButton(ButtonID id) const
|
||||
return 0;
|
||||
}
|
||||
else {
|
||||
return static_cast<unsigned int>(id);
|
||||
return static_cast<unsigned int>(m_buttons[id - 1]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user