[wesnoth-commits] [wesnoth/wesnoth] 0d2870: fix gui2 dialog disappearing after [change_control...

GitHub noreply at github.com
Sat Mar 31 17:39:52 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0d2870394f2b11917e9f116653ff3130dc8e296e
      https://github.com/wesnoth/wesnoth/commit/0d2870394f2b11917e9f116653ff3130dc8e296e
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2018-03-31 (Sat, 31 Mar 2018)

  Changed paths:
    M src/playturn.cpp

  Log Message:
  -----------
  fix gui2 dialog disappearing after [change_controller]

fixes #2794


  Commit: 247e08e1d521cfca3279c679f93dd0248ef23832
      https://github.com/wesnoth/wesnoth/commit/247e08e1d521cfca3279c679f93dd0248ef23832
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2018-03-31 (Sat, 31 Mar 2018)

  Changed paths:
    M src/playturn.cpp

  Log Message:
  -----------
  less redraw_everything calls when receiving [change_controller]

we now only call redraw_everything() when the gui actually needs
updating. In particular this fixes an annoing flickering in some cases
where a gui2 dialog is shown while a [change_controller] is received.


  Commit: 7fca064c6e4a4fb65ffdef90f19d49934d3ffa01
      https://github.com/wesnoth/wesnoth/commit/7fca064c6e4a4fb65ffdef90f19d49934d3ffa01
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2018-03-31 (Sat, 31 Mar 2018)

  Changed paths:
    M src/synced_user_choice.cpp

  Log Message:
  -----------
  guard against calling user_choice_manager::pull() recursively


Compare: https://github.com/wesnoth/wesnoth/compare/b8300d8e20c6...7fca064c6e4a


More information about the Commits mailing list