diff options
author | FeralChild64 <unknown> | 2022-11-01 19:44:55 +0300 |
---|---|---|
committer | kcgen <1557255+kcgen@users.noreply.github.com> | 2022-11-03 16:02:58 +0300 |
commit | 92162d5fd08e34074ba57526a15c3dc44d0c76f2 (patch) | |
tree | 630fec7ad4e0472f887c39424b8d1c14e007e6f5 | |
parent | f8239fc92125dff3c749b085502678bb16ee4807 (diff) |
Fix a bug preventing rescanning for new mice
-rw-r--r-- | src/hardware/mouse/mouse_manymouse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardware/mouse/mouse_manymouse.cpp b/src/hardware/mouse/mouse_manymouse.cpp index 2a1b8a0fa..b4c736b3e 100644 --- a/src/hardware/mouse/mouse_manymouse.cpp +++ b/src/hardware/mouse/mouse_manymouse.cpp @@ -342,7 +342,7 @@ void ManyMouseGlue::MapFinalize() PIC_RemoveEvents(manymouse_tick); is_mapping_in_effect = false; for (const auto &entry : mouse_info.physical) { - if (entry.IsMapped()) + if (!entry.IsMapped()) continue; is_mapping_in_effect = true; |