diff --git a/src/inputpanelv1client.cpp b/src/inputpanelv1client.cpp index 5ef92d1b11..981baea9ba 100644 --- a/src/inputpanelv1client.cpp +++ b/src/inputpanelv1client.cpp @@ -117,7 +117,7 @@ void KWin::InputPanelV1Client::reposition() } if (popupRect.top() < screen.top() || popupRect.bottom() > screen.bottom()) { auto flippedPopupRect = - QRect(popupOffset(cursorRectangle, Qt::BottomEdge | Qt::LeftEdge, Qt::RightEdge | Qt::TopEdge, surface()->size()), surface()->size()); + QRect(popupOffset(cursorRectangle, Qt::TopEdge | Qt::LeftEdge, Qt::RightEdge | Qt::TopEdge, surface()->size()), surface()->size()); // if it still doesn't fit we should continue with the unflipped version if (flippedPopupRect.top() >= screen.top() || flippedPopupRect.bottom() <= screen.bottom()) {