Skip to content

Commit

Permalink
fixed mouse dispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Moerliy committed Jun 11, 2024
1 parent e1b05f8 commit dfa8e50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/config/ConfigManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2028,6 +2028,10 @@ std::optional<std::string> CConfigManager::handleBind(const std::string& command

auto HANDLER = ARGS[2 + DESCR_OFFSET];

if (mouse) {
HANDLER = "mouse";
}

const auto COMMAND = mouse ? HANDLER : ARGS[3 + DESCR_OFFSET];

// to lower
Expand Down

0 comments on commit dfa8e50

Please sign in to comment.