qt: Fix performance regression

This commit is contained in:
Cacodemon345
2022-07-12 14:41:38 +06:00
parent ef869d7a3d
commit 27e4124574
10 changed files with 42 additions and 104 deletions

View File

@@ -19,6 +19,7 @@
* Copyright 2017-2020 Fred N. van Kempen.
* Copyright 2019,2020 GH Cao.
*/
#include <stdatomic.h>
#define UNICODE
#include <windows.h>
#include <commctrl.h>
@@ -1557,6 +1558,12 @@ plat_resize(int x, int y)
}
void plat_resize_request(int w, int h, int monitor_index)
{
atomic_store((&doresize_monitors[monitor_index]), 1);
}
void
plat_mouse_capture(int on)
{