[osx] reset to window before switching resolutions when already fullscreen. fixes...
authorJonathan Marshall <jmarshall@xbmc.org>
Sat, 21 Sep 2013 02:53:10 +0000 (14:53 +1200)
committerJonathan Marshall <jmarshall@xbmc.org>
Sun, 6 Oct 2013 20:42:59 +0000 (09:42 +1300)
xbmc/windowing/osx/WinSystemOSX.mm

index 3434e7f..db45256 100644 (file)
@@ -723,7 +723,7 @@ bool CWinSystemOSX::SetFullScreen(bool fullScreen, RESOLUTION_INFO& res, bool bl
   // or if we are still on the same display - it might be only a refreshrate/resolution
   // change request.
   // Recurse to reset fullscreen mode and then continue.
-  if (was_fullscreen && fullScreen && lastDisplayNr != res.iScreen)
+  if (was_fullscreen && fullScreen)
   {
     needtoshowme = false;
     ShowHideNSWindow([last_view window], needtoshowme);