Skip to content
Snippets Groups Projects
Commit 9aebfc83 authored by hluk's avatar hluk
Browse files

Fix checking if cursor is over a notification


Signed-off-by: default avatarLukas Holecek <hluk@email.cz>
parent 60f7ef8e
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ void NotificationDaemon::doUpdateNotifications()
// Postpone update if mouse cursor is over a notification.
for (auto &notificationData : m_notifications) {
auto notification = notificationData.notification;
if ( isNotificationUnderCursor(notification, cursor) ) {
if ( notification->isVisible() && isNotificationUnderCursor(notification, cursor) ) {
m_timerUpdate.start();
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment