Commit ceda3221 authored by Sergey Radionov's avatar Sergey Radionov Committed by Cheng Sun

win32: fixed toolbar visibility checking

Signed-off-by: default avatarCheng Sun <chengsun9@gmail.com>
parent bbb07405
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment