Fix window movement on linux.
This commit is contained in:
parent
a5de42860a
commit
cdcb09829a
|
@ -62,6 +62,7 @@ Rectangle {
|
|||
drag.axis: Drag.XAxis
|
||||
drag.maximumX: window.dragMaxX
|
||||
drag.minimumX: window.dragMinX
|
||||
drag.smoothed: true
|
||||
onPressed: {
|
||||
animation.stop()
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue