[wesnoth-commits] [wesnoth/wesnoth] 8667e5: Hotkey manager: drop duplicate commands

GitHub noreply at github.com
Thu Apr 12 16:47:52 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8667e5bbdd3d2a92e966a15f12a3753b9e3c283f
      https://github.com/wesnoth/wesnoth/commit/8667e5bbdd3d2a92e966a15f12a3753b9e3c283f
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2018-04-12 (Thu, 12 Apr 2018)

  Changed paths:
    M changelog.md
    M players_changelog.md
    M src/controller_base.cpp
    M src/controller_base.hpp
    M src/hotkey/command_executor.cpp
    M src/hotkey/command_executor.hpp

  Log Message:
  -----------
  Hotkey manager: drop duplicate commands

We use both SDL_KEYDOWN and SDL_TEXTINPUT events for hotkeys. It's possible
for both events (caused by the same keypress) to trigger the hotkey command
and we don't want that. Hence, let's drop duplicate commands.

Fixes #1736.




More information about the Commits mailing list