qt: Don't resize on fullscreen

This commit is contained in:
Cacodemon345
2022-07-12 14:49:38 +06:00
parent 27e4124574
commit 737dc576c4

View File

@@ -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);
}