mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
force update when wm changed
Change-Id: Ic28a4cc22ea4af6378ae8fce959c33304ec094a4
This commit is contained in:
parent
7f6d6c33a6
commit
4487d359ad
Notes:
Deepin Code Review
2018-02-05 17:08:30 +08:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: 石博文 <sbw@sbw.so> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Mon, 05 Feb 2018 17:08:29 +0800 Reviewed-on: https://cr.deepin.io/31465 Project: dde/dde-dock Branch: refs/heads/master
@ -160,6 +160,8 @@ void MainPanel::setEffectEnabled(const bool enabled)
|
||||
setMaskColor(QColor(0, 0, 0, 255 * 0.4));
|
||||
else
|
||||
setMaskColor(QColor(55, 63, 71));
|
||||
|
||||
m_itemAdjustTimer->start();
|
||||
}
|
||||
|
||||
void MainPanel::moveEvent(QMoveEvent* e)
|
||||
|
@ -279,6 +279,7 @@ void MainWindow::compositeChanged()
|
||||
m_mainPanel->setEffectEnabled(composite);
|
||||
|
||||
m_shadowMaskOptimizeTimer->start();
|
||||
m_positionUpdateTimer->start();
|
||||
}
|
||||
|
||||
void MainWindow::internalMove(const QPoint &p)
|
||||
|
Loading…
x
Reference in New Issue
Block a user