From ac5c3b4996cb1476114d7f66701163ee7da2be1b Mon Sep 17 00:00:00 2001 From: Giulio Camuffo Date: Wed, 23 Dec 2009 17:23:35 +0000 Subject: [PATCH] should not return CustomPanelContainment svn path=/trunk/KDE/kdelibs/; revision=1065557 --- corona.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corona.cpp b/corona.cpp index af4f446d9..efcc59800 100644 --- a/corona.cpp +++ b/corona.cpp @@ -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; } }