Commit 7a8fda3
committed
Initialize Win32 Display thread with correct OS DPI awareness
The runtime auto-scaling for multi-monitor HiDPI support on Windows
requires the system's DPI awareness to be set to PerMonitorV2. This
change makes the Display class initialize its UI thread with the
according DPI awareness.
Contributes to
#62
Contributes to
#1311 parent 3b3a2d0 commit 7a8fda3
File tree
1 file changed
+23
-0
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
1 file changed
+23
-0
lines changedLines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
585 | 608 | | |
586 | 609 | | |
587 | 610 | | |
| |||
0 commit comments