mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Fix mouse buttons order on Wayland.
This commit is contained in:
parent
16d9491148
commit
7f00ae8c83
@ -90,8 +90,8 @@ static void PointerButton( void*, struct wl_pointer* pointer, uint32_t serial, u
|
||||
switch( button )
|
||||
{
|
||||
case BTN_LEFT: b = 0; break;
|
||||
case BTN_MIDDLE: b = 1; break;
|
||||
case BTN_RIGHT: b = 2; break;
|
||||
case BTN_MIDDLE: b = 2; break;
|
||||
case BTN_RIGHT: b = 1; break;
|
||||
default: return;
|
||||
}
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
|
Loading…
Reference in New Issue
Block a user