Commit 47af98e
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
adapts the calculation to properly calculate the new size taking
previous and new zoom into account and executes the logic asynchronously.1 parent 9eb34bf commit 47af98e
File tree
2 files changed
+21
-6
lines changed- bundles/org.eclipse.swt/Eclipse SWT
- common/org/eclipse/swt/internal
- win32/org/eclipse/swt/widgets
2 files changed
+21
-6
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
238 | 247 | | |
239 | 248 | | |
240 | 249 | | |
| |||
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2738 | 2738 | | |
2739 | 2739 | | |
2740 | 2740 | | |
2741 | | - | |
2742 | | - | |
2743 | | - | |
2744 | | - | |
2745 | | - | |
2746 | | - | |
| 2741 | + | |
| 2742 | + | |
| 2743 | + | |
| 2744 | + | |
| 2745 | + | |
| 2746 | + | |
| 2747 | + | |
| 2748 | + | |
| 2749 | + | |
| 2750 | + | |
| 2751 | + | |
| 2752 | + | |
2747 | 2753 | | |
2748 | 2754 | | |
2749 | 2755 | | |
| |||
0 commit comments