Skip to content

Commit

Permalink
Added a missing change
Browse files Browse the repository at this point in the history
  • Loading branch information
tsujan committed Aug 21, 2024
1 parent 9906eef commit 92ad6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/lxqtpanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1486,7 +1486,7 @@ QRect LXQtPanel::calculatePopupWindowPos(const ILXQtPanelPlugin *plugin, const Q
}

// Note: assuming there are not contentMargins around the "BackgroundWidget" (LXQtPanelWidget)
return calculatePopupWindowPos(mGeometry.topLeft() + panel_plugin->geometry().topLeft(), windowSize);
return calculatePopupWindowPos(mapToGlobal(panel_plugin->geometry().topLeft()), windowSize);
}


Expand Down

0 comments on commit 92ad6f0

Please sign in to comment.