#1025 closed defect (fixed)
[PATCH] Add config option to toggle pause on window focus loss
Reported by: | historic_bruno | Owned by: | Mark Cho |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 8 |
Component: | Core engine | Keywords: | simple |
Cc: | Patch: |
Description
If you're playing a single player game and the window loses focus, the game will be paused until you return, which is OK but not everyone wants this behavior. It seems trivial to fix this by adding a new option to default.cfg
such as
pauseonfocusloss = true
Attachments (1)
Change History (6)
by , 12 years ago
Attachment: | 0AD_PauseOnFocusLoss.patch added |
---|
comment:1 by , 12 years ago
Keywords: | review added |
---|---|
Milestone: | Backlog → Alpha 8 |
Owner: | set to |
Summary: | Add config option to toggle pause on window focus loss → [PATCH] Add config option to toggle pause on window focus loss |
comment:2 by , 12 years ago
Status: | new → assigned |
---|
comment:3 by , 12 years ago
Thanks, looks good. I just changed the default to false so it keeps the current behaviour, because I think that's probably more useful for players (and developers can override it in their local.cfg).
comment:4 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 by , 8 years ago
Keywords: | review removed |
---|
Note:
See TracTickets
for help on using tickets.
I've attached the patch which implements the config options.
Please review the diff.
Thanks