Commit 485749a
[Win32] Move relayout call to end of DPI change processing
When processing a DPI change event, a relayout of the shell is currently
scheduled when the event reaches the shell. With asynchronous event
processing, this can lead to the layouting being performed too early,
i.e., when not all contained controls are already updated.
With this change, the layout call for the shell is moved to the end of
the DPI change process, such that relayouting is only performed when all
controls have been updated.1 parent fd18da9 commit 485749a
File tree
2 files changed
+1
-6
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
2 files changed
+1
-6
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5948 | 5948 | | |
5949 | 5949 | | |
5950 | 5950 | | |
5951 | | - | |
| 5951 | + | |
5952 | 5952 | | |
5953 | 5953 | | |
5954 | 5954 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2787 | 2787 | | |
2788 | 2788 | | |
2789 | 2789 | | |
2790 | | - | |
2791 | | - | |
2792 | | - | |
2793 | | - | |
2794 | | - | |
2795 | 2790 | | |
0 commit comments