should not return CustomPanelContainment
svn path=/trunk/KDE/kdelibs/; revision=1065557
This commit is contained in:
parent
83d671bf2f
commit
ac5c3b4996
@ -433,7 +433,7 @@ Containment *Corona::containmentForScreen(int screen, int desktop) const
|
||||
if (containment->screen() == screen &&
|
||||
(desktop < 0 || containment->desktop() == desktop) &&
|
||||
(containment->containmentType() == Containment::DesktopContainment ||
|
||||
containment->containmentType() >= Containment::CustomContainment)) {
|
||||
containment->containmentType() == Containment::CustomContainment)) {
|
||||
return containment;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user