Differences From Artifact [4f1282d052]:
- File unix/pterm.c — part of check-in [5fa48e3449] at 2002-10-25 06:58:59 on branch trunk — Fix the nasty flashing-light-grey-on-resize problem, after MCV helpfully alerted me to the existence of gdk_window_set_background(). (user: simon size: 54416)
To Artifact [2b77136258]:
- File unix/pterm.c — part of check-in [40732d161f] at 2002-10-25 17:00:22 on branch trunk — Oops; remembering to call term_provide_resize_fn in the Unix front end would probably help. Thanks Colin. (user: simon size: 54475)
| ︙ | |||
1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 | 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 | + + |
inst->currcursor = inst->textcursor;
show_mouseptr(1);
term = term_init();
back = &pty_backend;
back->init((void *)term, &backhandle, NULL, 0, NULL, 0);
term_provide_resize_fn(term, back->size, backhandle);
term_size(term, cfg.height, cfg.width, cfg.savelines);
ldisc_send(NULL, 0, 0); /* cause ldisc to notice changes */
inst->master_fd = pty_master_fd;
inst->exited = FALSE;
inst->master_func_id = gdk_input_add(pty_master_fd, GDK_INPUT_READ,
|
| ︙ |