diff --git a/krunner/view.cpp b/krunner/view.cpp index d71494f74..c20770480 100644 --- a/krunner/view.cpp +++ b/krunner/view.cpp @@ -274,9 +274,9 @@ void View::positionOnScreen() const int w = width(); int x = r.left() + (r.width() * m_offset) - (w / 2); - int y = r.top(); + int y = r.bottom()-height(); if (m_floating) { - y += r.height() / 3; + y -= r.height() / 3; } x = qBound(r.left(), x, r.right() - width()); @@ -292,7 +292,7 @@ void View::positionOnScreen() setLocation(Plasma::Types::Floating); } else { KWindowSystem::setOnAllDesktops(winId(), true); - setLocation(Plasma::Types::TopEdge); + setLocation(Plasma::Types::BottomEdge); } KWindowSystem::forceActiveWindow(winId());