Skip to content

Commit

Permalink
fix: made process DPI aware fixes monitor scaling (#11)
Browse files Browse the repository at this point in the history
- fixed the issue where the tiling is set off center because of the monitor scaling
  • Loading branch information
nkxxll authored Feb 1, 2024
1 parent 97f9f62 commit 5a3ac67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wm.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ void ctrlc(int sig) {
}

int main() {
SetProcessDPIAware();

wmDll = LoadLibraryW(L"lightwm_dll");

if (wmDll == NULL) {
Expand Down

0 comments on commit 5a3ac67

Please sign in to comment.