Saved coordinates are no longer changed when the emulator is in full screen, fixes #3485.
This commit is contained in:
@@ -1709,6 +1709,7 @@ void
|
|||||||
MainWindow::on_actionRemember_size_and_position_triggered()
|
MainWindow::on_actionRemember_size_and_position_triggered()
|
||||||
{
|
{
|
||||||
window_remember ^= 1;
|
window_remember ^= 1;
|
||||||
|
if (!video_fullscreen) {
|
||||||
window_w = ui->stackedWidget->width();
|
window_w = ui->stackedWidget->width();
|
||||||
window_h = ui->stackedWidget->height();
|
window_h = ui->stackedWidget->height();
|
||||||
if (!QApplication::platformName().contains("wayland")) {
|
if (!QApplication::platformName().contains("wayland")) {
|
||||||
@@ -1723,6 +1724,7 @@ MainWindow::on_actionRemember_size_and_position_triggered()
|
|||||||
monitor_settings[i].mon_window_y = renderers[i]->geometry().y();
|
monitor_settings[i].mon_window_y = renderers[i]->geometry().y();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
ui->actionRemember_size_and_position->setChecked(window_remember);
|
ui->actionRemember_size_and_position->setChecked(window_remember);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user