Commit d342126
Thomas Singer
[GTK] Can draw outside window on Wayland #3145
`GC.clipping` seems to define the maximum possible clipping rect.
However, it did not take into account that controls can be located
(partly) outside a client area (e.g. of the shell). Now we reduce the
maximum possible clipping rect by the parent client areas so they can't
draw over them.1 parent 65f43d4 commit d342126
1 file changed
Lines changed: 11 additions & 0 deletions
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
2622 | 2623 | | |
2623 | 2624 | | |
2624 | 2625 | | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
| 2631 | + | |
| 2632 | + | |
| 2633 | + | |
| 2634 | + | |
| 2635 | + | |
2625 | 2636 | | |
2626 | 2637 | | |
2627 | 2638 | | |
| |||
0 commit comments