From 075d4f4758f86c49ef0b5257a2de076b1d7d4569 Mon Sep 17 00:00:00 2001 From: walker0643 <> Date: Sat, 8 Sep 2018 14:36:50 -0400 Subject: [PATCH] enable high-dps awareness for barriers/barrierc. fixes screen geometry calculations for screens with >100% scaling --- src/cmd/barrierc/CMakeLists.txt | 1 + src/cmd/barrierc/barrierc.exe.manifest | 2 ++ src/cmd/barriers/CMakeLists.txt | 1 + src/cmd/barriers/barriers.exe.manifest | 2 ++ 4 files changed, 6 insertions(+) create mode 100644 src/cmd/barrierc/barrierc.exe.manifest create mode 100644 src/cmd/barriers/barriers.exe.manifest diff --git a/src/cmd/barrierc/CMakeLists.txt b/src/cmd/barrierc/CMakeLists.txt index 92276d22..0c085500 100644 --- a/src/cmd/barrierc/CMakeLists.txt +++ b/src/cmd/barrierc/CMakeLists.txt @@ -29,6 +29,7 @@ if (WIN32) tb_idle.ico tb_run.ico tb_wait.ico + barrierc.exe.manifest ) elseif (APPLE) file(GLOB arch_headers "OSX*.h") diff --git a/src/cmd/barrierc/barrierc.exe.manifest b/src/cmd/barrierc/barrierc.exe.manifest new file mode 100644 index 00000000..7309fde6 --- /dev/null +++ b/src/cmd/barrierc/barrierc.exe.manifest @@ -0,0 +1,2 @@ + +true \ No newline at end of file diff --git a/src/cmd/barriers/CMakeLists.txt b/src/cmd/barriers/CMakeLists.txt index e1871ee8..912421f0 100644 --- a/src/cmd/barriers/CMakeLists.txt +++ b/src/cmd/barriers/CMakeLists.txt @@ -29,6 +29,7 @@ if (WIN32) tb_idle.ico tb_run.ico tb_wait.ico + barriers.exe.manifest ) elseif (APPLE) file(GLOB arch_headers "OSX*.h") diff --git a/src/cmd/barriers/barriers.exe.manifest b/src/cmd/barriers/barriers.exe.manifest new file mode 100644 index 00000000..7309fde6 --- /dev/null +++ b/src/cmd/barriers/barriers.exe.manifest @@ -0,0 +1,2 @@ + +true \ No newline at end of file