Update _NET_SUPPORTED based on AbilityExtendIntoClientArea when
switching decorations. svn path=/trunk/KDE/kdebase/workspace/; revision=1063015
This commit is contained in:
parent
92fc39b5eb
commit
042af295ee
1 changed files with 4 additions and 1 deletions
|
@ -324,7 +324,6 @@ void Workspace::init()
|
||||||
NET::WM2DesktopLayout |
|
NET::WM2DesktopLayout |
|
||||||
NET::WM2FullPlacement |
|
NET::WM2FullPlacement |
|
||||||
NET::WM2FullscreenMonitors |
|
NET::WM2FullscreenMonitors |
|
||||||
NET::WM2FrameOverlap |
|
|
||||||
0
|
0
|
||||||
,
|
,
|
||||||
NET::ActionMove |
|
NET::ActionMove |
|
||||||
|
@ -341,6 +340,9 @@ void Workspace::init()
|
||||||
,
|
,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if ( mgr->factory()->supports( AbilityExtendIntoClientArea ) )
|
||||||
|
protocols[ NETRootInfo::PROTOCOLS2 ] |= NET::WM2FrameOverlap;
|
||||||
|
|
||||||
QX11Info info;
|
QX11Info info;
|
||||||
rootInfo = new RootInfo( this, display(), supportWindow->winId(), "KWin", protocols, 5, info.screen() );
|
rootInfo = new RootInfo( this, display(), supportWindow->winId(), "KWin", protocols, 5, info.screen() );
|
||||||
|
|
||||||
|
@ -1132,6 +1134,7 @@ void Workspace::slotReconfigure()
|
||||||
(*it)->applyWindowRules();
|
(*it)->applyWindowRules();
|
||||||
discardUsedWindowRules( *it, false );
|
discardUsedWindowRules( *it, false );
|
||||||
}
|
}
|
||||||
|
rootInfo->setSupported( NET::WM2FrameOverlap, mgr->factory()->supports( AbilityExtendIntoClientArea ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
void Workspace::slotReinitCompositing()
|
void Workspace::slotReinitCompositing()
|
||||||
|
|
Loading…
Reference in a new issue