mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-24 01:40:12 -05:00
multi-cursor: wip: start tracking which cells has secondary cursors
This commit is contained in:
parent
5e0524bf99
commit
dccbdb97cd
3 changed files with 58 additions and 8 deletions
|
|
@ -1424,6 +1424,8 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper,
|
|||
term->notification_icons[i].tmp_file_fd = -1;
|
||||
}
|
||||
|
||||
pixman_region32_init(&term->multi_cursor.active);
|
||||
|
||||
add_utmp_record(conf, reaper, ptmx);
|
||||
|
||||
if (!pty_path) {
|
||||
|
|
@ -1943,6 +1945,8 @@ term_destroy(struct terminal *term)
|
|||
free(term->mouse_user_cursor);
|
||||
free(term->color_stack.stack);
|
||||
|
||||
pixman_region32_fini(&term->multi_cursor.active);
|
||||
|
||||
int ret = EXIT_SUCCESS;
|
||||
|
||||
if (term->slave > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue