mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
"Revert "feat: 修复拖拽应用出现卡顿的问题""
This reverts commit 29e391fc54d32a6c0cbdce99760f66372e0a2f97. Change-Id: I877aa91310f99048ec5e6d23a4e068d3cbc68a95
This commit is contained in:
parent
86362dcf17
commit
0e9ae2f588
@ -664,7 +664,7 @@ bool MainPanelControl::eventFilter(QObject *watched, QEvent *event)
|
||||
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()));
|
||||
if (isContains) {
|
||||
if (event->type() == QEvent::DragMove) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user