diff --git a/Linphone/core/notifier/Notifier.cpp b/Linphone/core/notifier/Notifier.cpp index e70408b97..39abec3c3 100644 --- a/Linphone/core/notifier/Notifier.cpp +++ b/Linphone/core/notifier/Notifier.cpp @@ -172,8 +172,8 @@ bool Notifier::createNotification(Notifier::NotificationType type, QVariantMap d // Don't use Popup for flags : it could lead to error in geometry. On Mac, Using Tool ensure // to have the Window on Top and fullscreen independant window->setFlags((showAsTool ? Qt::Tool : Qt::WindowStaysOnTopHint) | - Qt::FramelessWindowHint | Qt::WindowDoesNotAcceptFocus); -#ifdef Q_OS_LINUX + Qt::FramelessWindowHint); +#ifdef Q_OS_LINUX || Q_OS_WIN window->setFlag(Qt::WindowDoesNotAcceptFocus); #endif // for (auto it = data.begin(); it != data.end(); ++it) @@ -243,14 +243,14 @@ void Notifier::showNotification(QQuickWindow *notification, int timeout) { lInfo() << log().arg("Windows : screen unlocked, force raising notification"); notification->hide(); notification->showNormal(); - notification->raise(); + // notification->raise(); lInfo() << log().arg("Notification visibility : visible =") << notification->isVisible() << "visibility =" << notification->visibility(); }); #endif notification->hide(); notification->showNormal(); - notification->raise(); + // notification->raise(); lInfo() << log().arg("Notification visibility : visible =") << notification->isVisible() << "visibility =" << notification->visibility() << "size =" << notification->width() << notification->height();