Commit 11c1f19
committed
[Win32] Deactivate monitor-specific scaling if PerMonitorV2 unsupported
For monitor-specific scaling, PerMonitorV2 is set (and required) as DPI
awareness do work properly. By now, even if the DPI awareness was not
successfully set to PerMonitorV2 (which can actually only happen on
Windows Server 2016), monitor-specific scaling will still be enabled.
With this change, if the required DPI awareness for monitor-specific
scaling could not be set, monitor-specific scaling will automatically be
disabled.1 parent 584132f commit 11c1f19
3 files changed
Lines changed: 8 additions & 4 deletions
File tree
- bundles/org.eclipse.swt
- Eclipse SWT Tests/win32/org/eclipse/swt/widgets
- Eclipse SWT/win32/org/eclipse/swt
- internal
- widgets
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5408 | 5408 | | |
5409 | 5409 | | |
5410 | 5410 | | |
5411 | | - | |
5412 | | - | |
5413 | | - | |
| 5411 | + | |
| 5412 | + | |
| 5413 | + | |
5414 | 5414 | | |
5415 | 5415 | | |
5416 | 5416 | | |
| |||
0 commit comments