OpenClonk Bugtracker - OpenClonk
View Issue Details
0001638OpenClonkEngine - Graphicspublic2016-01-18 22:002016-02-01 20:14
ReporterLuchs 
Assigned ToIsilkor 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformLinuxOSOS Version
Product Version 
Target Version8.0Fixed in Version 
Summary0001638: The game stops updating/drawing when it loses focus
DescriptionOpenClonk only draws its game window while it has focus. While this makes sense on a single-monitor setup, it isn't very useful with multiple monitors where the game is possibly still completely visible even though another windows has focus.

OpenClonk should either indicate that the game window isn't updated while out of focus (for example by clearing the screen), or continue to update while it is visible (preferred solution).
TagsNo tags attached.
Attached Files

Notes
(0004930)
occ   
2016-02-01 19:56   
Hi! There's been a check-in that references this bug. For more information you can visit the repository browser at this address:
https://git.openclonk.org/openclonk.git/commitdiff/0c3811fe66fc023c84882260776cae7cc6f5e22c

Changeset 0c3811f by Nicolas Hake <isilkor@openclonk.org>
Keep rendering while unfocused (0001638)

In windowed mode, we shouldn't stop rendering just because we have lost
focus. However, we don't need to render at full framerate; throttling to
5 fps should be sufficient. Note though that we still have to calculate
game ticks at full speed so network games don't slow down when a player
tabs out of the game.

Issue History
2016-01-18 22:00LuchsNew Issue
2016-01-18 22:33MaikelTarget Version => 8.0
2016-02-01 19:56occNote Added: 0004930
2016-02-01 20:14IsilkorStatusnew => resolved
2016-02-01 20:14IsilkorResolutionopen => fixed
2016-02-01 20:14IsilkorAssigned To => Isilkor