From 451f237085e1db8e8040f02e6a32e218e3cf64d3 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Wed, 26 Feb 2003 18:11:32 +0000 Subject: [PATCH] Linux mouse buttons now match those on win32 (again) --- src/native/linux/org_lwjgl_input_Mouse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/native/linux/org_lwjgl_input_Mouse.cpp b/src/native/linux/org_lwjgl_input_Mouse.cpp index c99224d7..ca85b6a0 100644 --- a/src/native/linux/org_lwjgl_input_Mouse.cpp +++ b/src/native/linux/org_lwjgl_input_Mouse.cpp @@ -234,10 +234,10 @@ void handleButtonRelease(XButtonEvent *event) { buttons[0] = JNI_FALSE; break; case Button2: - buttons[1] = JNI_FALSE; + buttons[2] = JNI_FALSE; break; case Button3: - buttons[2] = JNI_FALSE; + buttons[1] = JNI_FALSE; break; case Button4: /* Fall through */ case Button5: