[vlc-commits] npapi win32: don't hide drawable on fullscreen mode.

Sergey Radionov git at videolan.org
Thu Jan 5 03:00:05 CET 2012


npapi-vlc | branch: master | Sergey Radionov <RSATom at gmail.com> | Mon Jan  2 14:02:44 2012 +0700| [5776eb63604ffd99346d337f02ddae7c988ace51] | committer: Sergey Radionov

npapi win32: don't hide drawable on fullscreen mode.

In multimonitor configureations it allow switch off fullscreen mode
by doubleclicking on drawable.

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=5776eb63604ffd99346d337f02ddae7c988ace51
---

 common/win32_fullscreen.cpp |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/common/win32_fullscreen.cpp b/common/win32_fullscreen.cpp
index 0ac1cc5..822dbcd 100644
--- a/common/win32_fullscreen.cpp
+++ b/common/win32_fullscreen.cpp
@@ -919,7 +919,6 @@ void VLCWindowsManager::StartFullScreen()
                      FSFlags);
 
         ShowWindow(_FSWnd->getHWND(), SW_SHOW);
-        ShowWindow(_hWindowedParentWnd, SW_HIDE);
     }
 }
 
@@ -935,7 +934,6 @@ void VLCWindowsManager::EndFullScreen()
         GetClientRect(_hWindowedParentWnd, &WindowedParentRect);
         MoveWindow(_HolderWnd->getHWND(), 0, 0, WindowedParentRect.right, WindowedParentRect.bottom, FALSE);
 
-        ShowWindow(_hWindowedParentWnd, SW_SHOW);
         ShowWindow(_FSWnd->getHWND(), SW_HIDE);
 
         if(_FSWnd){



More information about the vlc-commits mailing list