diff --git a/src/xdgshellwindow.cpp b/src/xdgshellwindow.cpp index e6c0341983..16bf18593a 100644 --- a/src/xdgshellwindow.cpp +++ b/src/xdgshellwindow.cpp @@ -925,7 +925,7 @@ void XdgToplevelWindow::handleWindowClassChanged() void XdgToplevelWindow::handleWindowMenuRequested(SeatInterface *seat, const QPoint &surfacePos, quint32 serial) { - performMouseCommand(Options::MouseOperationsMenu, pos() + surfacePos); + performMouseCommand(Options::MouseOperationsMenu, mapFromLocal(surfacePos)); } void XdgToplevelWindow::handleMoveRequested(SeatInterface *seat, quint32 serial)