Commit 2f725a6
committed
gtk: Fix
Most other backends do not skip drawing on unmapped windows; this skip
causes explicit draws to do nothing and breaks things that expect it to
work.
For example, the `TextBox` example broke since the widget was changed to
set text before showing the window. This required drawing to work in
order to measure text size and place the caret.draw on unmapped windows.1 parent 6f25240 commit 2f725a6
2 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
543 | | - | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
544 | 546 | | |
545 | 547 | | |
546 | 548 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| |||
0 commit comments