Commit 56bc784
committed
Fix global redisplay not matching window updates
The global redisplay thread would block on a semaphore, which is
signaled by the per-window redisplay threads whenever the content of any
window changes. For example, the per-window redisplay thread is triggered
when its content twin_box_t is triggered by the event
TwinEventButtonDown. In this case, the corresponding window should also
be marked as active. To ensure proper display, we added the function
twin_window_show to indirectly update the damaged screen.
Signed-off-by: Wei-Hsin Yeh <weihsinyeh168@gmail.com>1 parent 2f2ee87 commit 56bc784
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
0 commit comments