Skip to content

Commit

Permalink
fix: window removes its own display animation (#379)
Browse files Browse the repository at this point in the history
as title

Log: as title
Issue: linuxdeepin/developer-center#9728
  • Loading branch information
yixinshark authored Aug 22, 2024
1 parent 5bd7f84 commit 2e96449
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dde-osd/src/notification-center/notifycenterwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@ void NotifyCenterWidget::unRegisterRegion()

void NotifyCenterWidget::CompositeChanged()
{
m_hasComposite = m_wmHelper->hasComposite();
// 屏蔽应用自己的动画,默认使用窗管窗口显示动画
m_hasComposite = false;
}

void NotifyCenterWidget::setX(int x)
Expand Down

0 comments on commit 2e96449

Please sign in to comment.