show the overlays when the context menu is shown

This commit is contained in:
Brad Hefta-Gaub 2016-02-26 10:12:23 -08:00
parent bf0fb7258a
commit 6b427e59ae

View file

@ -460,6 +460,7 @@ void OffscreenUi::unfocusWindows() {
}
void OffscreenUi::toggleMenu(const QPoint& screenPosition) {
emit showDesktop(); // we really only want to do this if you're showing the menu, but for now this works
auto virtualPos = mapToVirtualScreen(screenPosition, nullptr);
QMetaObject::invokeMethod(_desktop, "toggleMenu", Q_ARG(QVariant, virtualPos));
}