diff --git a/resources/windows/lite-xl.exe.manifest.in b/resources/windows/lite-xl.exe.manifest.in
index 9e787587..a01ac8d2 100644
--- a/resources/windows/lite-xl.exe.manifest.in
+++ b/resources/windows/lite-xl.exe.manifest.in
@@ -24,6 +24,13 @@
/>
+
+
+
+ true
+
+
+
diff --git a/src/main.c b/src/main.c
index 1959e738..607f8734 100644
--- a/src/main.c
+++ b/src/main.c
@@ -144,13 +144,7 @@ void set_macos_bundle_resources(lua_State *L);
#endif
int main(int argc, char **argv) {
-#ifdef _WIN32
- HINSTANCE lib = LoadLibrary("user32.dll");
- int (*SetProcessDPIAware)() = (void*) GetProcAddress(lib, "SetProcessDPIAware");
- SetProcessDPIAware();
-#elif defined(__amigaos4__) || defined(__morphos__)
- setlocale(LC_ALL, "C");
-#else
+#ifndef _WIN32
signal(SIGPIPE, SIG_IGN);
#endif