fix bug #I7BJTX【wayland】【影音】播放画面点击右键无菜单弹出

This commit is contained in:
xuxinrong 2023-11-20 16:43:37 +08:00
parent e1df1c80d3
commit f1ce8f987d
2 changed files with 11 additions and 2 deletions

9
debian/changelog vendored
View File

@ -1,3 +1,12 @@
kylin-video (3.1.4.2k1-ok23) yangtze; urgency=medium
* BUG号:
#I7BJTX【wayland】【影音】播放画面点击右键无菜单弹出
* 需求号:无.
* 其他改动:无.
-- xuxinrong <xuxinrong@kylinos.cn> Mon, 20 Nov 2023 16:18:53 +0800
kylin-video (3.1.4.2k1-ok22) yangtze; urgency=medium
* BUG号:

View File

@ -1183,8 +1183,8 @@ void MainWindow::initGlobalSig()
#endif
connect(g_user_signal, &GlobalUserSignal::sigRightMenuShow, [&](){
if (!m_is_active && isWayland)
return;
// if (!m_is_active && isWayland)
// return;
if (QGuiApplication::focusWindow())
m_right_click_menu->exec(QCursor::pos(QGuiApplication::focusWindow()->screen()) + QPoint(1,1));
});