mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
Revert "feat: 修复拖拽应用出现卡顿的问题"
This reverts commit 37cf96519b88a63642351e647702cd5d5edcebb2. Change-Id: I6b28ee4072190d531e92d573005bbb560a42e848
This commit is contained in:
parent
6437dd9c3e
commit
29e391fc54
@ -664,7 +664,7 @@ bool MainPanelControl::eventFilter(QObject *watched, QEvent *event)
|
|||||||
moveAppSonWidget();
|
moveAppSonWidget();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Utils::IS_WAYLAND_DISPLAY && m_appDragWidget && watched == static_cast<QGraphicsView *>(m_appDragWidget)->viewport()) {
|
if (Utils::IS_WAYLAND_DISPLAY && m_appDragWidget && watched == static_cast<QGraphicsView *>(m_appDragWidget)->viewport()) {
|
||||||
bool isContains = rect().contains(mapFromGlobal(QCursor::pos()));
|
bool isContains = rect().contains(mapFromGlobal(QCursor::pos()));
|
||||||
if (isContains) {
|
if (isContains) {
|
||||||
if (event->type() == QEvent::DragMove) {
|
if (event->type() == QEvent::DragMove) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user