Skip to content

Commit

Permalink
Set correct window close grab role
Browse files Browse the repository at this point in the history
  • Loading branch information
zzag committed May 16, 2020
1 parent dde27c9 commit 4ac5db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slidingnotificationseffect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void SlidingNotificationsEffect::slotWindowClosed(EffectWindow *window)
if (!window->isNotification() && !window->isCriticalNotification())
return;

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

forceBlurEffect(window);
forceContrastEffect(window);
Expand Down

0 comments on commit 4ac5db1

Please sign in to comment.