Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
unix: fix wrong system menu position
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwenx190 committed Apr 24, 2023
1 parent b2561c1 commit fe72427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/framelesshelper_qt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ bool FramelessHelperQt::eventFilter(QObject *object, QEvent *event)
}
if (button == Qt::RightButton) {
if (!ignoreThisEvent && insideTitleBar) {
data.params.showSystemMenu(scenePos);
data.params.showSystemMenu(globalPos);
event->accept();
return true;
}
Expand Down

0 comments on commit fe72427

Please sign in to comment.