diff --git a/src/plugins/backends/snore/notification.qml b/src/plugins/backends/snore/notification.qml index 7d612cf..3ef8212 100644 --- a/src/plugins/backends/snore/notification.qml +++ b/src/plugins/backends/snore/notification.qml @@ -62,6 +62,7 @@ Rectangle { drag.axis: Drag.XAxis drag.maximumX: window.dragMaxX drag.minimumX: window.dragMinX + drag.smoothed: true onPressed: { animation.stop() } diff --git a/src/plugins/backends/snore/notifywidget.cpp b/src/plugins/backends/snore/notifywidget.cpp index a221af2..33a74ee 100644 --- a/src/plugins/backends/snore/notifywidget.cpp +++ b/src/plugins/backends/snore/notifywidget.cpp @@ -50,7 +50,7 @@ NotifyWidget::NotifyWidget(int pos, const SnoreNotifier *parent) : #endif setSource(QUrl::fromEncoded("qrc:/notification.qml")); - setFlags(Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint | Qt::WindowSystemMenuHint | Qt::WindowDoesNotAcceptFocus + setFlags(Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint | Qt::WindowSystemMenuHint | Qt::WindowDoesNotAcceptFocus | Qt::BypassWindowManagerHint #ifdef Q_OS_MAC | Qt::SubWindow #else