From 29e391fc54d32a6c0cbdce99760f66372e0a2f97 Mon Sep 17 00:00:00 2001 From: songwentao Date: Fri, 19 Nov 2021 16:06:15 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"feat:=20=E4=BF=AE=E5=A4=8D=E6=8B=96?= =?UTF-8?q?=E6=8B=BD=E5=BA=94=E7=94=A8=E5=87=BA=E7=8E=B0=E5=8D=A1=E9=A1=BF?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 37cf96519b88a63642351e647702cd5d5edcebb2. Change-Id: I6b28ee4072190d531e92d573005bbb560a42e848 --- frame/window/mainpanelcontrol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {