diff --git a/qutebrowser/mainwindow/mainwindow.py b/qutebrowser/mainwindow/mainwindow.py index 8ed6a19a2..ecfd46c5d 100644 --- a/qutebrowser/mainwindow/mainwindow.py +++ b/qutebrowser/mainwindow/mainwindow.py @@ -251,7 +251,7 @@ class MainWindow(QWidget): topleft = QPoint(left, self.status.geometry().bottom()) bottom = self.status.height() + size_hint.height() bottom = qtutils.check_overflow(bottom, 'int', fatal=False) - bottomright = QPoint(width, + bottomright = QPoint(left + width, min(self.height() - max_height_padding, bottom)) else: raise ValueError("Invalid position {}!".format(status_position))