[Commits] [wesnoth/wesnoth] 585ce8: GUI2: fixed a bug that's been causing SDL_KEY_DOWN...

GitHub noreply at github.com
Wed Mar 15 11:19:59 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 585ce88d64d609da0500286e56367a510b2ad466
      https://github.com/wesnoth/wesnoth/commit/585ce88d64d609da0500286e56367a510b2ad466
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
    M src/gui/core/event/handler.cpp

  Log Message:
  -----------
  GUI2: fixed a bug that's been causing SDL_KEY_DOWN events to be executed twice.

`SDL_TEXTINPUT` events were being handled after `SDL_KEYDOWN` events and calling the same `key_down` codepath,
result in any registered `SDL_KEY_DOWN` callbacks being executed twice, the second time around with null/0 'key'
data.


  Commit: 581aba7e9d9624d4aea1ed48e148e56f546612db
      https://github.com/wesnoth/wesnoth/commit/581aba7e9d9624d4aea1ed48e148e56f546612db
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
    M projectfiles/CodeBlocks/wesnoth.cbp
    M source_lists/wesnoth
    M src/gui/dialogs/preferences_dialog.cpp
    M src/hotkey/hotkey_item.cpp
    M src/hotkey/hotkey_item.hpp
    R src/hotkey/hotkey_preferences_display.cpp

  Log Message:
  -----------
  Hotkey Bind: enable dialog and remove old GUI1 code


Compare: https://github.com/wesnoth/wesnoth/compare/3b361968ce7b...581aba7e9d96


More information about the Commits mailing list