diff --git a/frame/window/mainpanelcontrol.cpp b/frame/window/mainpanelcontrol.cpp index c879f0f41..a6f14f0f5 100755 --- a/frame/window/mainpanelcontrol.cpp +++ b/frame/window/mainpanelcontrol.cpp @@ -664,7 +664,7 @@ bool MainPanelControl::eventFilter(QObject *watched, QEvent *event) moveAppSonWidget(); } - if (!Utils::IS_WAYLAND_DISPLAY && m_appDragWidget && watched == static_cast(m_appDragWidget)->viewport()) { + if (Utils::IS_WAYLAND_DISPLAY && m_appDragWidget && watched == static_cast(m_appDragWidget)->viewport()) { bool isContains = rect().contains(mapFromGlobal(QCursor::pos())); if (isContains) { if (event->type() == QEvent::DragMove) {