Commit 1c9ab79
committed
[Win32] Enable monitor-specific scaling by default
By now, SWT had monitor-specific scaling on Windows disabled by default
and used the existing, single-zoom HiDPI support. There are good reasons
to now change the default of SWT to have monitor-specific scaling
enabled:
- Eclipse applications default to have monitor-specific scaling enabled
for several months now, so SWT and Eclipse default behaviors are
different
- With default JVM settings, pure SWT application have no proper scaling
as the existing HiDPI support requires DPI awareness "System" to
function properly whereas the JVM default is "PerMonitorV2" and requires
the application to scale on its own. So by default, SWT applications
currently have no scaling at all
- The feature has matured throughout the last year with it being the
default for Eclipse application for several months now.
This change adapts the SWT default to enable monitor-specific scaling on
Windows.1 parent 4b7c450 commit 1c9ab79
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
0 commit comments