Commit 9d66f028 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Add more debug messages to track windows FS controller flickering bug.

(cherry picked from commit 66f03d20)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b6cbf314
......@@ -1093,6 +1093,7 @@ void FullscreenControllerWidget::showFSC()
{
adjustSize();
#ifdef WIN32TRICK
msg_Dbg( p_intf, "showFSC() was called" );
// after quiting and going to fs, we need to call show()
if( isHidden() )
show();
......@@ -1119,6 +1120,7 @@ void FullscreenControllerWidget::showFSC()
void FullscreenControllerWidget::hideFSC()
{
#ifdef WIN32TRICK
msg_Dbg( p_intf, "hideFSC() was called" );
b_fscHidden = true;
setWindowOpacity( 0.0 ); // simulate hidding
#else
......@@ -1164,6 +1166,7 @@ void FullscreenControllerWidget::slowHideFSC()
else
{
#ifdef WIN32TRICK
msg_Dbg( p_intf, "slowHideFSC() was called" );
if ( windowOpacity() > 0.0 && !b_fscHidden )
#else
if ( windowOpacity() > 0.0 )
......@@ -1188,6 +1191,10 @@ void FullscreenControllerWidget::customEvent( QEvent *event )
{
bool b_fs;
#ifndef NDEBUG
msg_Dbg( p_intf, "New FSC event: %i", event->type() );
#endif
switch( event->type() )
{
case FullscreenControlToggle_Type:
......
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