Commit 205e73f
committed
gtk: Correctly resize canvas to intended size.
Previously, it was the window that was resized to the intended size,
thus making the canvas smaller by the toolbar height.
Fixes #10083 for GTK3.
Fixes #10566 for GTK3.1 parent 8feb6d8 commit 205e73f
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
443 | 451 | | |
444 | 452 | | |
445 | 453 | | |
| |||
0 commit comments