mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
Dpi unaware placement bug (#2121)
Fix for bug when placing dpi unaware window such as Notepad++ in left of right part of monitor. In that application gap of about 7px was left or right. This fixes only single-monitor scenario It skips correction for dpi unaware window that leaves a gap
This commit is contained in:
committed by
GitHub
parent
87fb6fc3d1
commit
2077cd4864
@@ -32,6 +32,7 @@ struct MonitorInfo : ScreenSize
|
||||
|
||||
// Returns monitor rects ordered from left to right
|
||||
static std::vector<MonitorInfo> GetMonitors(bool include_toolbar);
|
||||
static int GetMonitorsCount();
|
||||
// Return primary display
|
||||
static MonitorInfo GetPrimaryMonitor();
|
||||
// Return monitor on which hwnd window is displayed
|
||||
|
||||
Reference in New Issue
Block a user