diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-11-25 16:32:04 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-03-18 02:22:28 +0000 |
commit | 1764d772adb8f18b05dc639e2813f6b23aeb4ca6 (patch) | |
tree | 86d995887b1a7565e0e479e8018acbbc5c4a1e40 | |
parent | 3045f1458d41d3cef12a1127bbbce349c6a222ef (diff) | |
download | mpv-1764d772adb8f18b05dc639e2813f6b23aeb4ca6.tar.bz2 mpv-1764d772adb8f18b05dc639e2813f6b23aeb4ca6.tar.xz |
win32: add DWMWA_VISIBLE_FRAME_BORDER_THICKNESS definition
-rw-r--r-- | video/out/w32_common.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/video/out/w32_common.c b/video/out/w32_common.c index 59e8df7a4c..51e40d1166 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -58,10 +58,17 @@ EXTERN_C IMAGE_DOS_HEADER __ImageBase; #define DWMWA_USE_IMMERSIVE_DARK_MODE 20 #endif +#ifndef DWMWA_VISIBLE_FRAME_BORDER_THICKNESS +#define DWMWA_VISIBLE_FRAME_BORDER_THICKNESS 37 +#endif -//Older MinGW compatibility +#ifndef DWMWA_WINDOW_CORNER_PREFERENCE #define DWMWA_WINDOW_CORNER_PREFERENCE 33 +#endif + +#ifndef DWMWA_SYSTEMBACKDROP_TYPE #define DWMWA_SYSTEMBACKDROP_TYPE 38 +#endif #ifndef DPI_ENUMS_DECLARED typedef enum MONITOR_DPI_TYPE { |