Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

10
  • 1
    And Netflix if you want to see it in action (even the browser based version).
    – Gizmo
    Commented Jul 21, 2020 at 7:19
  • 9
    "will often be programmed to detect a computer locking and pause the game." Is that what they detect? I've always assumed it it was a foreground-background detection and that locking a device would put everything in the background.
    – Mast
    Commented Jul 21, 2020 at 7:27
  • @Mast It really depends on the game. Simple focus loss is enough to pause some games, even if partially. I have some that the music continues but the game's main loop pauses. If there is no lost focus system, the game can still activate the pause screen when locked. I don't have specific examples, but I definitely have games like this as my keyboard has a lock macro on it and I sometimes hit it on accident.
    – Logarr
    Commented Jul 21, 2020 at 13:29
  • 1
    Interestingly, the command prompt and I think also Powershell do not render updates when not in view. Because of that, some "chatty" scripts actually run faster with command prompt minimized or the screen locked.
    – Belle
    Commented Jul 21, 2020 at 14:21
  • 2
    @belle Sort off. They still produce output and the console host process keeps track of what is supposed to be displayed. It is only the actual rendering, which is the most cpu intensive part, which is suspended until the window becomes visible again. Same happens when the window is minimized. So command prompt or powershell doesn’t actually have anything to do with it. It is the console host process.
    – Tonny
    Commented Jul 21, 2020 at 16:45