Commit e0ee5193 authored by Erwan Tulou's avatar Erwan Tulou

skins2(Linux): enable transparency since setOpacity is now available (to be tested)

parent 671bf6f8
......@@ -591,9 +591,9 @@ vlc_module_begin ()
SKINS2_SYSTRAY_LONG, false );
add_bool( "skins2-taskbar", true, onTaskBarChange, SKINS2_TASKBAR,
SKINS2_TASKBAR_LONG, false );
#endif
add_bool( "skins2-transparency", false, NULL, SKINS2_TRANSPARENCY,
SKINS2_TRANSPARENCY_LONG, false );
#endif
add_bool( "skinned-playlist", true, NULL, SKINS2_PLAYLIST,
SKINS2_PLAYLIST_LONG, false );
......
......@@ -71,7 +71,6 @@ void WindowManager::startMove( TopWindow &rWindow )
m_movingWindows.clear();
buildDependSet( m_movingWindows, &rWindow );
#ifdef WIN32
if( config_GetInt( getIntf(), "skins2-transparency" ) )
{
// Change the opacity of the moving windows
......@@ -89,7 +88,6 @@ void WindowManager::startMove( TopWindow &rWindow )
(*it)->refresh( 0, 0, (*it)->getWidth(), (*it)->getHeight() );
}
}
#endif
}
......@@ -98,7 +96,6 @@ void WindowManager::stopMove()
WinSet_t::const_iterator itWin1, itWin2;
AncList_t::const_iterator itAnc1, itAnc2;
#ifdef WIN32
if( config_GetInt( getIntf(), "skins2-transparency" ) )
{
// Restore the opacity of the moving windows
......@@ -108,7 +105,6 @@ void WindowManager::stopMove()
(*it)->setOpacity( m_alpha );
}
}
#endif
// Delete the dependencies
m_dependencies.clear();
......
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