Branch: refs/heads/master
  Commit: aa086e372f83a386bcea251e5f6fa4f73a955ef0
  Author: past-due <>
  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 

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,!
Warzone2100-commits mailing list

Reply via email to