Commit 9de608f
committed
Modify handleMonitorSpecificDpiChange to call setBounds before sending
zoomChangedEvent
This change ensures that setBounds is applied before the
zoomChangedEvent is dispatched.
By doing so, event listeners of ZoomChanged can modify the shell size
additionally if required.
For example, this is useful in
eclipse-platform/eclipse.platform.ui#3212
, where the shell size needs to be set by the ZoomChanged listener.1 parent 93a484e commit 9de608f
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4959 | 4959 | | |
4960 | 4960 | | |
4961 | 4961 | | |
4962 | | - | |
4963 | 4962 | | |
| 4963 | + | |
| 4964 | + | |
4964 | 4965 | | |
4965 | 4966 | | |
4966 | 4967 | | |
| |||
0 commit comments