mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 17:45:31 -07:00
UI: Never move the window to top left on resize, fixes #6329.
This commit is contained in:
@@ -1021,6 +1021,7 @@ void MainWindow::updateShortcuts()
|
||||
void
|
||||
MainWindow::resizeEvent(QResizeEvent *event)
|
||||
{
|
||||
#ifdef MOVE_WINDOW
|
||||
//qDebug() << pos().x() + event->size().width();
|
||||
//qDebug() << pos().y() + event->size().height();
|
||||
if (vid_resize == 1 || video_fullscreen)
|
||||
@@ -1040,6 +1041,7 @@ MainWindow::resizeEvent(QResizeEvent *event)
|
||||
if (newY < 1) newY = 1;
|
||||
}
|
||||
move(newX, newY);
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user