Merge pull request #4727 from Memphiz/fixtruefullscreen
authorMemphiz <memphis@machzwo.de>
Thu, 15 May 2014 21:42:55 +0000 (23:42 +0200)
committerTrent Nelson <trent.nelson@pivosgroup.com>
Sat, 7 Jun 2014 05:27:38 +0000 (13:27 +0800)
[osx/windowing] - fix true fullscreen on osx 10.6 (frame rate limiter wa...

xbmc/windowing/osx/WinSystemOSX.mm

index b225efd..702df5b 100644 (file)
@@ -1349,6 +1349,9 @@ bool CWinSystemOSX::FlushBuffer(void)
 
 bool CWinSystemOSX::IsObscured(void)
 {
+  if (m_bFullScreen && !CSettings::Get().GetBool("videoscreen.fakefullscreen"))
+    return false;// in true fullscreen mode - we can't be obscured by anyone...
+
   // check once a second if we are obscured.
   unsigned int now_time = XbmcThreads::SystemClockMillis();
   if (m_obscured_timecheck > now_time)