Read initial states of windows.

svn path=/trunk/kdebase/kwin/; revision=257725
This commit is contained in:
Luboš Luňák 2003-10-10 12:59:40 +00:00
parent 34fa4a4399
commit 7f30475e40

View file

@ -399,6 +399,21 @@ bool Client::manage( Window w, bool isMapped )
else if ( info->state() & NET::MaxHoriz )
maximize( Client::MaximizeHorizontal );
// read other initial states
if( info->state() & NET::Shaded )
setShade( ShadeNormal );
if( info->state() & NET::KeepAbove )
setKeepAbove( true );
if( info->state() & NET::KeepBelow )
setKeepBelow( true );
if( info->state() & NET::SkipTaskbar )
setSkipTaskbar( true, true );
if( info->state() & NET::SkipPager )
setSkipPager( true );
if( info->state() & NET::DemandsAttention )
demandAttention();
if( info->state() & NET::Modal )
setModal( true );
if( fullscreen_mode != FullScreenHack )
{
if(( info->state() & NET::FullScreen ) != 0 && isFullScreenable())