[Commits] [wesnoth/wesnoth] e5fb29: Redraw windows on top when any window changes

GitHub noreply at github.com
Wed Nov 1 19:15:47 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e5fb29dba666a5dfc30a7fddbae3ccd4218b8696
      https://github.com/wesnoth/wesnoth/commit/e5fb29dba666a5dfc30a7fddbae3ccd4218b8696
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M src/gui/widgets/window.cpp
    M src/gui/widgets/window.hpp

  Log Message:
  -----------
  Redraw windows on top when any window changes

This commit restores redraws of entire windows, but only if a window below
has actually changed. It should fix most regressions from commit c6d8692ac6d34c71835bd581fb07b900c4ba0c5b
with a much smaller CPU usage cost.

The commit also includes a check for the situation where the title screen
changes all the time, which would restore the high CPU usage (that the
developer would be unlikely to notice immediately).





More information about the Commits mailing list