unix: fix wrong system menu position
This commit is contained in:
parent
b2561c16ba
commit
fe724271da
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue