Update _NET_SUPPORTED based on AbilityExtendIntoClientArea when

switching decorations.

svn path=/trunk/KDE/kdebase/workspace/; revision=1063015
This commit is contained in:
Fredrik Höglund 2009-12-16 18:03:15 +00:00
parent 92fc39b5eb
commit 042af295ee

View file

@ -324,7 +324,6 @@ void Workspace::init()
NET::WM2DesktopLayout |
NET::WM2FullPlacement |
NET::WM2FullscreenMonitors |
NET::WM2FrameOverlap |
0
,
NET::ActionMove |
@ -341,6 +340,9 @@ void Workspace::init()
,
};
if ( mgr->factory()->supports( AbilityExtendIntoClientArea ) )
protocols[ NETRootInfo::PROTOCOLS2 ] |= NET::WM2FrameOverlap;
QX11Info info;
rootInfo = new RootInfo( this, display(), supportWindow->winId(), "KWin", protocols, 5, info.screen() );
@ -1132,6 +1134,7 @@ void Workspace::slotReconfigure()
(*it)->applyWindowRules();
discardUsedWindowRules( *it, false );
}
rootInfo->setSupported( NET::WM2FrameOverlap, mgr->factory()->supports( AbilityExtendIntoClientArea ) );
}
void Workspace::slotReinitCompositing()