mirror of
https://github.com/tmux/tmux.git
synced 2024-11-18 02:18:53 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
9ebd630675
2
resize.c
2
resize.c
@ -188,7 +188,7 @@ recalculate_sizes(void)
|
|||||||
type = options_get_number(w->options, "window-size");
|
type = options_get_number(w->options, "window-size");
|
||||||
if (type == WINDOW_SIZE_MANUAL)
|
if (type == WINDOW_SIZE_MANUAL)
|
||||||
continue;
|
continue;
|
||||||
current = !options_get_number(w->options, "aggressive-resize");
|
current = options_get_number(w->options, "aggressive-resize");
|
||||||
|
|
||||||
changed = 1;
|
changed = 1;
|
||||||
if (type == WINDOW_SIZE_LARGEST) {
|
if (type == WINDOW_SIZE_LARGEST) {
|
||||||
|
3
tty.c
3
tty.c
@ -807,6 +807,9 @@ tty_update_client_offset(struct client *c)
|
|||||||
{
|
{
|
||||||
u_int ox, oy, sx, sy;
|
u_int ox, oy, sx, sy;
|
||||||
|
|
||||||
|
if (~c->flags & CLIENT_TERMINAL)
|
||||||
|
return;
|
||||||
|
|
||||||
c->tty.oflag = tty_window_offset1(&c->tty, &ox, &oy, &sx, &sy);
|
c->tty.oflag = tty_window_offset1(&c->tty, &ox, &oy, &sx, &sy);
|
||||||
if (ox == c->tty.oox &&
|
if (ox == c->tty.oox &&
|
||||||
oy == c->tty.ooy &&
|
oy == c->tty.ooy &&
|
||||||
|
Loading…
Reference in New Issue
Block a user