Commit c9dc6e1
committed
[win32] Refresh thread dpi awareness on hooks
This commit resets the DPI awareness for the WH_MSGFILTER hook, if called.
For performance reasons that is only done, when runAsyncMessages will be
triggered, as this can cause UI updates, which would be executed with the
wrong DPI awareness context and cause UI glitches.1 parent b4fabe5 commit c9dc6e1
File tree
1 file changed
+21
-0
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
1 file changed
+21
-0
lines changedLines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3425 | 3425 | | |
3426 | 3426 | | |
3427 | 3427 | | |
| 3428 | + | |
| 3429 | + | |
| 3430 | + | |
| 3431 | + | |
| 3432 | + | |
| 3433 | + | |
| 3434 | + | |
3428 | 3435 | | |
| 3436 | + | |
| 3437 | + | |
| 3438 | + | |
3429 | 3439 | | |
3430 | 3440 | | |
3431 | 3441 | | |
| |||
5382 | 5392 | | |
5383 | 5393 | | |
5384 | 5394 | | |
| 5395 | + | |
| 5396 | + | |
| 5397 | + | |
| 5398 | + | |
| 5399 | + | |
| 5400 | + | |
| 5401 | + | |
| 5402 | + | |
| 5403 | + | |
| 5404 | + | |
| 5405 | + | |
5385 | 5406 | | |
0 commit comments