Branch: refs/heads/master
Home: https://github.com/Warzone2100/warzone2100
Commit: aa086e372f83a386bcea251e5f6fa4f73a955ef0
https://github.com/Warzone2100/warzone2100/commit/aa086e372f83a386bcea251e5f6fa4f73a955ef0
Author: past-due <[email protected]>
Date: 2018-03-11 (Sun, 11 Mar 2018)
Changed paths:
M lib/sdl/main_sdl.cpp
M src/main.cpp
M src/qtscript.cpp
Log Message:
-----------
[SDL backend] Do not call QCoreApplication::processEvents() on Windows or
macOS
In SDL backend builds, the only thing that currently requires Qt's
`QCoreApplication::processEvents()` is the script debugger window (which is
built using Qt) - and only on non-Windows/macOS operating systems.
Since the script debugger window works on Windows and macOS without
`processEvents()`, do not call it on Windows and macOS builds.
This fixes:
- trac #4714 "can't take in-game screenshots anymore" (on Windows)
- the need for a (somewhat crude) workaround on macOS
- issues with keys getting "stuck" on macOS
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits