[wesnoth-commits] [wesnoth/wesnoth] 64ef0e: Hotkey manager: drop duplicate commands

GitHub noreply at github.com
Thu Apr 12 16:30:29 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 64ef0eb1e6830fc61a617a094b6f0cbb6cf97dfc
      https://github.com/wesnoth/wesnoth/commit/64ef0eb1e6830fc61a617a094b6f0cbb6cf97dfc
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2018-04-11 (Wed, 11 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.


  Commit: 47d83b44b2b17461d96d5550b259bfa6e9958431
      https://github.com/wesnoth/wesnoth/commit/47d83b44b2b17461d96d5550b259bfa6e9958431
  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:
  -----------
  Merge branch 'hotkey-event-buffer' into 1.14

Manual merge of pull request #2872.


Compare: https://github.com/wesnoth/wesnoth/compare/bb14c3bc217f...47d83b44b2b1


More information about the Commits mailing list