From 737dc576c4a1efced4de697ab5eec61059d27a8c Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Tue, 12 Jul 2022 14:49:38 +0600 Subject: [PATCH] qt: Don't resize on fullscreen --- src/qt/qt_ui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qt/qt_ui.cpp b/src/qt/qt_ui.cpp index 33a49b2e7..859bb42fd 100644 --- a/src/qt/qt_ui.cpp +++ b/src/qt/qt_ui.cpp @@ -68,6 +68,7 @@ void mouse_poll() { extern "C" int vid_resize; void plat_resize_request(int w, int h, int monitor_index) { + if (video_fullscreen || is_quit) return; if (vid_resize & 2) { plat_resize_monitor(fixed_size_x, fixed_size_y, monitor_index); }