mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
feat: 修复拖拽应用出现卡顿的问题
修复拖拽应用操作卡顿的问题 Log: 优化任务栏拖拽功能 Influence: 任务栏-拖动应用交换位置卡顿问题 Task: https://pms.uniontech.com/zentao/task-view-90552.html Change-Id: I0b26f49c8cda7f1265de2dd36e12ec91a893f4bb
This commit is contained in:
parent
c650d12860
commit
37cf96519b
@ -667,7 +667,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