Commit 7ce213d
Avoid unnecessary DPI_CHANGE event in Windows
Set the size of order of the information control before setting its
location
in order to avoid an unnecessary DPI_CHANGE event in Windows.
Setting the location of the control before setting its size could cause
a DPI_CHANGE event in win32 since the OS is responsible for providing
the size to the control upon creation and this size can be very big,
causing the control to span across multiple monitors.
contributes to
eclipse-platform/eclipse.platform.swt#62 and
eclipse-platform/eclipse.platform.swt#1271 parent 1e74269 commit 7ce213d
File tree
1 file changed
+1
-1
lines changed- bundles/org.eclipse.jface.text/src/org/eclipse/jface/text
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1185 | 1185 | | |
1186 | 1186 | | |
1187 | 1187 | | |
1188 | | - | |
1189 | 1188 | | |
| 1189 | + | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
| |||
0 commit comments