Fix notification window grab event

pull/21/head
reionwong 4 years ago
parent 617b493b21
commit 04697c1c3f

@ -1,2 +1,2 @@
[General]
Version=0.5.1
Version=0.6

@ -48,6 +48,9 @@ bool NotificationWindow::eventFilter(QObject *object, QEvent *event)
} else if (event->type() == QEvent::Show) {
KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager | NET::SkipSwitcher);
HistoryModel::self()->updateTime();
} else if (event->type() == QEvent::Hide) {
setMouseGrabEnabled(false);
setKeyboardGrabEnabled(false);
}
return QObject::eventFilter(object, event);

Loading…
Cancel
Save