mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-05-30 22:01:41 +00:00
chore: xid is drop in debug, cause coredump
it should use copy Log:
This commit is contained in:
parent
919a2b5a49
commit
85deffe309
@ -365,7 +365,7 @@ void TaskManager::doActiveWindow(XWindow xid)
|
||||
}
|
||||
|
||||
XCB->changeActiveWindow(xid);
|
||||
QTimer::singleShot(50, [&] {
|
||||
QTimer::singleShot(50, [xid] {
|
||||
XCB->restackWindow(xid);
|
||||
});
|
||||
}
|
||||
@ -1572,4 +1572,4 @@ void TaskManager::cancelPreviewWindow()
|
||||
bool TaskManager::showMultiWindow() const
|
||||
{
|
||||
return m_showMultiWindow;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user