Commit 77798c37 authored by Sergey Radionov's avatar Sergey Radionov Committed by Jean-Baptiste Kempf

Win32: add possibility to hide toolbar in windowed mode

In fullscreen mode toolbar is always shown.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent bf2ac249
......@@ -442,7 +442,8 @@ void VLCControlsWnd::UpdateButtons()
void VLCControlsWnd::NeedShowControls()
if( !IsWindowVisible( hWnd() ) ){
if( !IsWindowVisible( hWnd() )) {
if(WM().IsFullScreen() || (PO() && PO()->get_show_toolbar() ) )
ShowWindow( hWnd(), SW_SHOW );
//hide controls after 2 seconds
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