Commit 3983021
committed
[win32] Adjust wrong size after DPI fix in Shell
This commit addresses an issue with the logic fixing a missing DPI
change event from windows in the Shell#WM_WINDOWPOSCHANGED callback. It
is no longer necessary, because the causing issue is that in some
scenarios a sub shell is positioned on a random monitor. Solution is to
adapt the nativeZoom of the sub Shell after the handle was created.1 parent 9eb34bf commit 3983021
File tree
1 file changed
+8
-20
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
1 file changed
+8
-20
lines changedLines changed: 8 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
556 | 564 | | |
557 | 565 | | |
558 | 566 | | |
| |||
2728 | 2736 | | |
2729 | 2737 | | |
2730 | 2738 | | |
2731 | | - | |
2732 | | - | |
2733 | | - | |
2734 | | - | |
2735 | | - | |
2736 | | - | |
2737 | | - | |
2738 | | - | |
2739 | | - | |
2740 | | - | |
2741 | | - | |
2742 | | - | |
2743 | | - | |
2744 | | - | |
2745 | | - | |
2746 | | - | |
2747 | | - | |
2748 | | - | |
2749 | | - | |
2750 | | - | |
2751 | 2739 | | |
2752 | 2740 | | |
2753 | 2741 | | |
| |||
0 commit comments