Fix window coordinate saving and loading

This commit is contained in:
Cacodemon345
2022-07-05 16:40:04 +06:00
parent 81be6e5cb5
commit a809942d4f
4 changed files with 39 additions and 24 deletions

View File

@@ -298,12 +298,17 @@ int main(int argc, char* argv[]) {
plat_resize_monitor(monitors[i].mon_scrnsz_x, monitors[i].mon_scrnsz_y, i);
}
}
if (is_quit) {
QApplication::quit();
}
});
resizeTimer.start();
auto ret = app.exec();
cpu_thread_run = 0;
main_thread->join();
pc_close(nullptr);
socket.close();
return ret;