Commit aceb68c
committed
Translate points in display coordinate space gap
This contribution fixes the current behaviour of the display coordinate
system of eclipse where a point can be manually set to somewhere in the
gap between the 2 monitor in the coordinate space (in the points
system). This fix translates those points to inside the scaled down
space of a monitor providing it the right coordinates in the display
coordinate space.
contributes to #62 and #1271 parent 0324a13 commit aceb68c
File tree
2 files changed
+23
-6
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
2 files changed
+23
-6
lines changedLines changed: 19 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5375 | 5375 | | |
5376 | 5376 | | |
5377 | 5377 | | |
| 5378 | + | |
| 5379 | + | |
| 5380 | + | |
| 5381 | + | |
5378 | 5382 | | |
5379 | 5383 | | |
5380 | 5384 | | |
5381 | 5385 | | |
5382 | | - | |
| 5386 | + | |
5383 | 5387 | | |
5384 | 5388 | | |
5385 | | - | |
| 5389 | + | |
| 5390 | + | |
| 5391 | + | |
| 5392 | + | |
| 5393 | + | |
| 5394 | + | |
| 5395 | + | |
| 5396 | + | |
5386 | 5397 | | |
5387 | 5398 | | |
5388 | 5399 | | |
| |||
5403 | 5414 | | |
5404 | 5415 | | |
5405 | 5416 | | |
| 5417 | + | |
| 5418 | + | |
| 5419 | + | |
| 5420 | + | |
5406 | 5421 | | |
5407 | 5422 | | |
5408 | 5423 | | |
5409 | 5424 | | |
5410 | | - | |
| 5425 | + | |
5411 | 5426 | | |
5412 | 5427 | | |
5413 | | - | |
| 5428 | + | |
5414 | 5429 | | |
5415 | 5430 | | |
5416 | 5431 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1586 | 1586 | | |
1587 | 1587 | | |
1588 | 1588 | | |
1589 | | - | |
| 1589 | + | |
| 1590 | + | |
1590 | 1591 | | |
1591 | 1592 | | |
1592 | 1593 | | |
| |||
1598 | 1599 | | |
1599 | 1600 | | |
1600 | 1601 | | |
1601 | | - | |
| 1602 | + | |
| 1603 | + | |
1602 | 1604 | | |
1603 | 1605 | | |
1604 | 1606 | | |
| |||
0 commit comments