Skip to content

Commit

Permalink
Animate critical notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
zzag committed May 16, 2020
1 parent cd19d1b commit dde27c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/slidingnotificationseffect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void SlidingNotificationsEffect::slotWindowAdded(EffectWindow *window)
{
if (effects->activeFullScreenEffect())
return;
if (!window->isNotification())
if (!window->isNotification() && !window->isCriticalNotification())
return;

window->setData(WindowAddedGrabRole, QVariant::fromValue<void *>(this));
Expand Down Expand Up @@ -88,7 +88,7 @@ void SlidingNotificationsEffect::slotWindowClosed(EffectWindow *window)
{
if (effects->activeFullScreenEffect())
return;
if (!window->isNotification())
if (!window->isNotification() && !window->isCriticalNotification())
return;

window->setData(WindowAddedGrabRole, QVariant::fromValue<void *>(this));
Expand Down

0 comments on commit dde27c9

Please sign in to comment.