[Commits] [wesnoth/wesnoth] 544b61: Fix bug #24209 and add a global event scope

GitHub noreply at github.com
Fri Jan 1 07:02:50 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 544b61534c7183c4dfc95b7b22d8573b0dfb26b9
      https://github.com/wesnoth/wesnoth/commit/544b61534c7183c4dfc95b7b22d8573b0dfb26b9
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2016-01-01 (Fri, 01 Jan 2016)

  Changed paths:
    M src/events.cpp
    M src/events.hpp
    M src/video.cpp
    M src/video.hpp

  Log Message:
  -----------
  Fix bug #24209 and add a global event scope

This adds a global event scope that an sdl_handler can register to in
order to receive all current events, regardless of the current
scope. Care should be taken to not be registerd in a local event
context and the global context at the same time as it will lead to the
event handler potentially being invoked twice.

This also adds the workaround needed for #24209 in the new event
handler in the video class.


  Commit: cb74629a88ac87948d68eb2dd9970332953bc8ba
      https://github.com/wesnoth/wesnoth/commit/cb74629a88ac87948d68eb2dd9970332953bc8ba
  Author: Andreas <andreas at alternating.net>
  Date:   2016-01-01 (Fri, 01 Jan 2016)

  Changed paths:
    M src/events.cpp
    M src/events.hpp
    M src/video.cpp
    M src/video.hpp

  Log Message:
  -----------
  Merge pull request #572 from aginor/master

Fix bug #24209 and add a global event context


Compare: https://github.com/wesnoth/wesnoth/compare/6c0ecb6785ba...cb74629a88ac


More information about the Commits mailing list