[Commits] [wesnoth/wesnoth] 126ba5: Fix bug #23934: Add event filtering on resize even...
GitHub
noreply at github.com
Thu Dec 31 02:36:57 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 126ba58a44925d1a5489221a3dc2cd6edf6884eb
https://github.com/wesnoth/wesnoth/commit/126ba58a44925d1a5489221a3dc2cd6edf6884eb
Author: Andreas Löf <andreas at alternating.net>
Date: 2015-12-30 (Wed, 30 Dec 2015)
Changed paths:
M src/events.cpp
M src/events.hpp
Log Message:
-----------
Fix bug #23934: Add event filtering on resize events
This adds event filtering and a timeout on actions after a resize
event. All DRAW, TOOLTIP and window events are filtered for 100ms
after a resize event has been received. The last received resize event
is injected into the event handling code when the next event is
received after the timeout has expired. This ensures that no more
resize events are dropped and that it's a better user experience.
Commit: 422ab071912b1159e67427b36c528f99d4b299e3
https://github.com/wesnoth/wesnoth/commit/422ab071912b1159e67427b36c528f99d4b299e3
Author: Andreas Löf <andreas at alternating.net>
Date: 2015-12-31 (Thu, 31 Dec 2015)
Changed paths:
M src/construct_dialog.cpp
M src/display.cpp
M src/events.cpp
M src/events.hpp
M src/generators/default_map_generator.cpp
M src/help/help.cpp
M src/show_dialog.cpp
M src/show_dialog.hpp
M src/widgets/button.cpp
M src/widgets/scrollarea.cpp
M src/widgets/scrollbar.cpp
M src/widgets/slider.cpp
M src/widgets/textbox.cpp
M src/widgets/widget.cpp
M src/widgets/widget.hpp
Log Message:
-----------
Add event handling to GUI and redraw on window events.
This fixes bugs #24211, #24214, #24213, #24209, #19666, #23534.
The GUI1 components have been made window event aware and will redraw
themselves after a window event.
Commit: 2f65f0ad1ad13c536dae59bcb0bf8a4a21d68030
https://github.com/wesnoth/wesnoth/commit/2f65f0ad1ad13c536dae59bcb0bf8a4a21d68030
Author: Andreas Löf <andreas at alternating.net>
Date: 2015-12-31 (Thu, 31 Dec 2015)
Changed paths:
M src/events.cpp
Log Message:
-----------
Trigger a full redraw oncertain window events.
This is an attempt to fix #24212 and similar bugs by always triggering
full redraws when the window is exposes, restrored, etc.
Commit: 20c93ce744f3cccf77561eccae9b29be0014d3c1
https://github.com/wesnoth/wesnoth/commit/20c93ce744f3cccf77561eccae9b29be0014d3c1
Author: Andreas <andreas at alternating.net>
Date: 2015-12-31 (Thu, 31 Dec 2015)
Changed paths:
M src/construct_dialog.cpp
M src/display.cpp
M src/events.cpp
M src/generators/default_map_generator.cpp
M src/help/help.cpp
M src/show_dialog.cpp
M src/show_dialog.hpp
M src/widgets/button.cpp
M src/widgets/scrollarea.cpp
M src/widgets/scrollbar.cpp
M src/widgets/slider.cpp
M src/widgets/textbox.cpp
M src/widgets/widget.cpp
M src/widgets/widget.hpp
Log Message:
-----------
Merge pull request #570 from aginor/resizehandling
Improve window event handling under SDL2
Compare: https://github.com/wesnoth/wesnoth/compare/b4a34b282b4f...20c93ce744f3
More information about the Commits
mailing list