xbmc/xbmc — pull request #3897 by wsoltys (2013-12-24 00:00:44+00:00)
Title: [RFC] changed: set background mode when minimized. prevents screen saver to kick in.

Thats another approach to avoid another if statement. This is windows only and uses SetInBackground() which seems to be used only by ios. If m_bInBackground is true it prevents the screen saver and dpms to kick in.
Usable or is the former solution better suited?