fix windows window issues

This commit is contained in:
Boof2015
2026-06-07 18:34:23 -04:00
parent bf447dd8df
commit c56b86ba63
7 changed files with 189 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include <napi.h>
// Registers the `windowChrome` export. On Windows it exposes `applyFlatFrame`,
// which strips the visible native frame/shadow from a frameless WS_THICKFRAME
// window while preserving native Aero Snap and edge resize. On other platforms
// it registers a no-op so the JS surface stays uniform.
void RegisterWindowChrome(Napi::Env env, Napi::Object exports);