npapi-vlc | branch: master | Sergey Radionov <[email protected]> | Sun Jan 15 20:30:07 2012 +0700| [ceda322147ccc38b6e3e252fdff26332b528b3f8] | committer: Cheng Sun
win32: fixed toolbar visibility checking Signed-off-by: Cheng Sun <[email protected]> > http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=ceda322147ccc38b6e3e252fdff26332b528b3f8 --- common/win32_fullscreen.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/win32_fullscreen.cpp b/common/win32_fullscreen.cpp index dbacd29..f3bc5ec 100644 --- a/common/win32_fullscreen.cpp +++ b/common/win32_fullscreen.cpp @@ -461,7 +461,7 @@ void VLCControlsWnd::UpdateButtons() void VLCControlsWnd::NeedShowControls() { - if( !IsWindowVisible( hWnd() )) { + if( !(GetWindowLong(hWnd(), GWL_STYLE) & WS_VISIBLE) ) { if(WM().IsFullScreen() || (PO() && PO()->get_show_toolbar() ) ) ShowWindow( hWnd(), SW_SHOW ); } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
