diff -r 962bce857696 -r ea11a3948f40 eric7/UI/NotificationWidget.py --- a/eric7/UI/NotificationWidget.py Sun May 16 20:07:24 2021 +0200 +++ b/eric7/UI/NotificationWidget.py Mon May 17 19:58:15 2021 +0200 @@ -262,7 +262,7 @@ if evt.button() == Qt.MouseButton.LeftButton: self.__dragPosition = ( - evt.globalPos() - self.frameGeometry().topLeft() + evt.globalPosition().toPoint() - self.frameGeometry().topLeft() ) self.setCursor(Qt.CursorShape.ClosedHandCursor) evt.accept() @@ -286,5 +286,5 @@ @param evt reference to the mouse event (QMouseEvent) """ if evt.buttons() & Qt.MouseButton.LeftButton: - self.move(evt.globalPos() - self.__dragPosition) + self.move(evt.globalPosition().toPoint() - self.__dragPosition) evt.accept()