mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Merge branch 'obsd-master'
This commit is contained in:
@ -1472,11 +1472,13 @@ server_client_check_pane_resize(struct window_pane *wp)
|
||||
* Otherwise resize to the force size and start the timer.
|
||||
*/
|
||||
if (wp->flags & PANE_RESIZENOW) {
|
||||
log_debug("%s: resizing %%%u after forced resize", __func__, wp->id);
|
||||
log_debug("%s: resizing %%%u after forced resize",
|
||||
__func__, wp->id);
|
||||
window_pane_send_resize(wp, 0);
|
||||
wp->flags &= ~(PANE_RESIZE|PANE_RESIZEFORCE|PANE_RESIZENOW);
|
||||
} else if (!evtimer_pending(&wp->force_timer, NULL)) {
|
||||
log_debug("%s: forcing resize of %%%u", __func__, wp->id);
|
||||
log_debug("%s: forcing resize of %%%u", __func__,
|
||||
wp->id);
|
||||
window_pane_send_resize(wp, 1);
|
||||
server_client_start_force_timer(wp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user