should not return CustomPanelContainment

svn path=/trunk/KDE/kdelibs/; revision=1065557
This commit is contained in:
Giulio Camuffo 2009-12-23 17:23:35 +00:00
parent 83d671bf2f
commit ac5c3b4996

View File

@ -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;
}
}