From 910abacb3f5e3c1d77e2c8434298d6be245487f2 Mon Sep 17 00:00:00 2001 From: The Dax Date: Fri, 31 Jan 2014 00:23:02 -0500 Subject: [PATCH] Skip showing the info menu if the RMB is bound. --- UI/MainScreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/MainScreen.cpp b/UI/MainScreen.cpp index aa01a476a3..9409adb1c4 100644 --- a/UI/MainScreen.cpp +++ b/UI/MainScreen.cpp @@ -106,7 +106,7 @@ public: } } else if (hovering_ && key.deviceId == DEVICE_ID_MOUSE && key.keyCode == NKCODE_EXT_MOUSEBUTTON_2) { // If it's the right mouse button, and it's not otherwise mapped, show the info also. - if (key.flags & KEY_UP) { + if (HasFocus() && (key.flags & KEY_UP)) { showInfo = true; } }