diff --git a/useractions.cpp b/useractions.cpp --- a/useractions.cpp +++ b/useractions.cpp @@ -151,15 +151,6 @@ int x = pos.left(); int y = pos.bottom(); m_client->blockActivityUpdates(true); - if (y != pos.top()) { - const QRect area = Workspace::self()->clientArea(ScreenArea, QPoint(x, y), - VirtualDesktopManager::self()->current()); - menuAboutToShow(); // needed for sizeHint() to be correct :-/ - int popupHeight = m_menu->sizeHint().height(); - if (y + popupHeight >= area.height()) { - y = pos.top() - popupHeight; - } - } if (kwinApp()->shouldUseWaylandForCompositing()) { m_menu->popup(QPoint(x, y)); } else {